diff options
Diffstat (limited to '')
-rw-r--r-- | test cases/common/92 test workdir/opener.c | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/test cases/common/92 test workdir/opener.c b/test cases/common/92 test workdir/opener.c new file mode 100644 index 0000000..c946e18 --- /dev/null +++ b/test cases/common/92 test workdir/opener.c @@ -0,0 +1,12 @@ +// This test only succeeds if run in the source root dir. + +#include<stdio.h> + +int main(void) { + FILE *f = fopen("opener.c", "r"); + if(f) { + fclose(f); + return 0; + } + return 1; +} |