aboutsummaryrefslogtreecommitdiff
path: root/tests/loops.ek
diff options
context:
space:
mode:
Diffstat (limited to 'tests/loops.ek')
-rw-r--r--tests/loops.ek4
1 files changed, 4 insertions, 0 deletions
diff --git a/tests/loops.ek b/tests/loops.ek
new file mode 100644
index 0000000..5b6f702
--- /dev/null
+++ b/tests/loops.ek
@@ -0,0 +1,4 @@
+/* this should error out with some decent message about type loops or something
+ * */
+f(=>typeof main()){}
+main(=> typeof f()){}