tinycc/bootstrap/libc/test/stdio/fopen_fail.c

14 lines
182 B
C

#include <stddef.h>
#include <stdio.h>
int main() {
FILE* file = fopen("not_exists", "r");
if(file == NULL) {
return 0;
}
else {
return 1;
}
}