summary refs log tree commit diff stats
path: root/tests/reject/tsimtych.nim
diff options
context:
space:
mode:
Diffstat (limited to 'tests/reject/tsimtych.nim')
-rw-r--r--tests/reject/tsimtych.nim5
1 files changed, 5 insertions, 0 deletions
diff --git a/tests/reject/tsimtych.nim b/tests/reject/tsimtych.nim
new file mode 100644
index 000000000..b100c62e3
--- /dev/null
+++ b/tests/reject/tsimtych.nim
@@ -0,0 +1,5 @@
+# Test 2

+# Simple type checking

+

+var a: string

+a = false #ERROR