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