Lines Matching defs:sfile
110 FILE *sfile;
113 ATF_REQUIRE((sfile = fopen("test.c", "w")) != NULL);
114 fprintf(sfile, "#include <stdio.h>\n");
115 fclose(sfile);
128 FILE *sfile;
131 ATF_REQUIRE((sfile = fopen("test.c", "w")) != NULL);
132 fprintf(sfile, "void foo(void) { int a = UNDEFINED_SYMBOL; }\n");
133 fclose(sfile);
146 FILE *sfile;
152 ATF_REQUIRE((sfile = fopen("test.c", "w")) != NULL);
153 fprintf(sfile, "#define A foo\n");
154 fprintf(sfile, "#define B bar\n");
155 fprintf(sfile, "A B\n");
156 fclose(sfile);
172 FILE *sfile;
175 ATF_REQUIRE((sfile = fopen("test.c", "w")) != NULL);
176 fprintf(sfile, "#include \"./non-existent.h\"\n");
177 fclose(sfile);
190 FILE *sfile;
193 ATF_REQUIRE((sfile = fopen("test.cpp", "w")) != NULL);
194 fprintf(sfile, "#include <iostream>\n");
195 fclose(sfile);
208 FILE *sfile;
211 ATF_REQUIRE((sfile = fopen("test.cpp", "w")) != NULL);
212 fprintf(sfile, "void foo(void) { int a = UNDEFINED_SYMBOL; }\n");
213 fclose(sfile);