summaryrefslogtreecommitdiff
path: root/Tests/ForceInclude/foo.c
diff options
context:
space:
mode:
Diffstat (limited to 'Tests/ForceInclude/foo.c')
-rw-r--r--Tests/ForceInclude/foo.c7
1 files changed, 7 insertions, 0 deletions
diff --git a/Tests/ForceInclude/foo.c b/Tests/ForceInclude/foo.c
new file mode 100644
index 000000000..af898f4aa
--- /dev/null
+++ b/Tests/ForceInclude/foo.c
@@ -0,0 +1,7 @@
+#ifndef FOO_1
+# error "foo1.h not included by /FI"
+#endif
+#ifndef FOO_2
+# error "foo2.h not included by /FI"
+#endif
+int main(void) { return 0; }