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