summary refs log tree commit diff stats
path: root/tests/vm
diff options
context:
space:
mode:
authorAraq <rumpf_a@web.de>2014-07-02 21:15:29 +0200
committerAraq <rumpf_a@web.de>2014-07-02 21:15:29 +0200
commit21be7bf85a4d8cdff1acfcc5c8b9bf9c0727b290 (patch)
treef48c70ad378b679b60cc04b3bd3fc6bedfb5d5ef /tests/vm
parent887a1ebe688a01259263ad6e11c9061cfc940456 (diff)
downloadNim-21be7bf85a4d8cdff1acfcc5c8b9bf9c0727b290.tar.gz
fixes #1310
Diffstat (limited to 'tests/vm')
-rw-r--r--tests/vm/teval1.nim5
1 files changed, 5 insertions, 0 deletions
diff --git a/tests/vm/teval1.nim b/tests/vm/teval1.nim
index a02f26592..cdb4ad8e2 100644
--- a/tests/vm/teval1.nim
+++ b/tests/vm/teval1.nim
@@ -16,4 +16,9 @@ const
   
 echo "##", x, "##"
 
+# bug #1310
+static:
+    var i, j: set[int8] = {}
+    var k = i + j
+