summary refs log tree commit diff stats
path: root/tests/converter/t18986.nim
diff options
context:
space:
mode:
Diffstat (limited to 'tests/converter/t18986.nim')
-rw-r--r--tests/converter/t18986.nim10
1 files changed, 10 insertions, 0 deletions
diff --git a/tests/converter/t18986.nim b/tests/converter/t18986.nim
new file mode 100644
index 000000000..ef300fa49
--- /dev/null
+++ b/tests/converter/t18986.nim
@@ -0,0 +1,10 @@
+discard """
+  output: "Found a 0"
+"""
+
+import m18986 except Lit
+import std/macros
+
+# bug #18986
+var x = 0.uint
+echo "Found a ", x