summaryrefslogtreecommitdiff
path: root/Tests/PrecompiledHeader/foo2.c
diff options
context:
space:
mode:
Diffstat (limited to 'Tests/PrecompiledHeader/foo2.c')
-rw-r--r--Tests/PrecompiledHeader/foo2.c9
1 files changed, 9 insertions, 0 deletions
diff --git a/Tests/PrecompiledHeader/foo2.c b/Tests/PrecompiledHeader/foo2.c
new file mode 100644
index 000000000..2845cdb15
--- /dev/null
+++ b/Tests/PrecompiledHeader/foo2.c
@@ -0,0 +1,9 @@
+#ifndef foo_h
+# include "foo.h"
+# error "Precompiled header foo_precompiled.h has not been loaded."
+#endif
+
+int foo()
+{
+ return 0;
+}