From 78cf00cb506cb86112cb715e4d2d69ec11b20c42 Mon Sep 17 00:00:00 2001 From: Kimplul Date: Mon, 27 Mar 2023 03:18:48 +0300 Subject: change typeof to be a full time type --- tests/loops.cu | 4 ++++ 1 file changed, 4 insertions(+) create mode 100644 tests/loops.cu (limited to 'tests/loops.cu') 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()){} -- cgit v1.3