summaryrefslogtreecommitdiffstats
path: root/tests/preprocessor/include.spire
diff options
context:
space:
mode:
Diffstat (limited to 'tests/preprocessor/include.spire')
-rw-r--r--tests/preprocessor/include.spire8
1 files changed, 8 insertions, 0 deletions
diff --git a/tests/preprocessor/include.spire b/tests/preprocessor/include.spire
new file mode 100644
index 000000000..8feca21cc
--- /dev/null
+++ b/tests/preprocessor/include.spire
@@ -0,0 +1,8 @@
+//TEST:SIMPLE:
+// #include support
+
+int foo() { return 0; }
+
+#include "include-a.spireh"
+
+int baz() { return bar(); } \ No newline at end of file