1 #include <assert.h> 2 #include <errno.h> 3 #include <stdio.h> 4 main()5 int main() { 6 FILE* file = fopen("/sandbox/subdir/loop1", "r"); 7 assert(file == NULL); 8 assert(errno == ELOOP); 9 } 10