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