summary refs log tree commit diff stats
path: root/tests/tunderscores.nim
diff options
context:
space:
mode:
Diffstat (limited to 'tests/tunderscores.nim')
-rwxr-xr-xtests/tunderscores.nim7
1 files changed, 7 insertions, 0 deletions
diff --git a/tests/tunderscores.nim b/tests/tunderscores.nim
new file mode 100755
index 000000000..459cfda30
--- /dev/null
+++ b/tests/tunderscores.nim
@@ -0,0 +1,7 @@
+# Bug #502670 
+
+var ef_ = 3  #ERROR_MSG invalid token: _
+var a__b = 1
+var c___d = 2
+echo(ab, cd, ef_)
+