summary refs log tree commit diff stats
path: root/tests/modules/trecinca.nim
diff options
context:
space:
mode:
Diffstat (limited to 'tests/modules/trecinca.nim')
-rw-r--r--tests/modules/trecinca.nim10
1 files changed, 10 insertions, 0 deletions
diff --git a/tests/modules/trecinca.nim b/tests/modules/trecinca.nim
new file mode 100644
index 000000000..56798dedd
--- /dev/null
+++ b/tests/modules/trecinca.nim
@@ -0,0 +1,10 @@
+discard """
+  errormsg: "recursive dependency: 'trecincb.nim'"
+  file: "trecincb.nim"
+  line: 9
+"""
+# Test recursive includes
+
+include trecincb
+
+echo "trecina"