fixed some tests

This commit is contained in:
Araq 2011-11-19 12:23:03 +01:00
commit d0772feb08
15 changed files with 135 additions and 128 deletions

11
tests/reject/tdeprecated.nim Executable file
View file

@ -0,0 +1,11 @@
discard """
line: 9
errmsg: "'a' is deprecated [Deprecated]"
"""
var
a {.deprecated.}: array[0..11, int]
a[8] = 1