summary refs log tree commit diff stats
path: root/tests/compiles
diff options
context:
space:
mode:
authorAraq <rumpf_a@web.de>2014-03-05 08:47:27 +0100
committerAraq <rumpf_a@web.de>2014-03-05 08:47:27 +0100
commit3dfb4891c77f03b038f6f65c750460c4fc882c7f (patch)
treec94e37f64804ed767123c8aef0c8eb53fba31245 /tests/compiles
parent4f946cb44e4fe60451b8ce4d15868ef0bce6949a (diff)
downloadNim-3dfb4891c77f03b038f6f65c750460c4fc882c7f.tar.gz
bugfix: unreported 'compiles' bug
Diffstat (limited to 'tests/compiles')
-rw-r--r--tests/compiles/tcompiles.nim2
1 files changed, 2 insertions, 0 deletions
diff --git a/tests/compiles/tcompiles.nim b/tests/compiles/tcompiles.nim
index d0fccdaff..b3d9c17ce 100644
--- a/tests/compiles/tcompiles.nim
+++ b/tests/compiles/tcompiles.nim
@@ -24,3 +24,5 @@ ok supports(`+`, 34)
 
 no compiles(4+5.0 * "hallo")
 
+no compiles(undeclaredIdentifier)
+no compiles(undeclaredIdentifier)