summaryrefslogtreecommitdiffstats
path: root/tests/modules/implementing-with-ext.slang
diff options
context:
space:
mode:
Diffstat (limited to 'tests/modules/implementing-with-ext.slang')
-rw-r--r--tests/modules/implementing-with-ext.slang9
1 files changed, 9 insertions, 0 deletions
diff --git a/tests/modules/implementing-with-ext.slang b/tests/modules/implementing-with-ext.slang
new file mode 100644
index 000000000..4e399df7d
--- /dev/null
+++ b/tests/modules/implementing-with-ext.slang
@@ -0,0 +1,9 @@
+implementing "mymodule.slang";
+
+int helperFunction() { return 0; }
+
+void main()
+{
+ int x = moduleFunction();
+ int y = helperFunction();
+}