fixed some tests
This commit is contained in:
parent
62aa8bed3b
commit
d0772feb08
15 changed files with 135 additions and 128 deletions
11
tests/reject/tdeprecated.nim
Executable file
11
tests/reject/tdeprecated.nim
Executable file
|
|
@ -0,0 +1,11 @@
|
|||
discard """
|
||||
line: 9
|
||||
errmsg: "'a' is deprecated [Deprecated]"
|
||||
"""
|
||||
|
||||
var
|
||||
a {.deprecated.}: array[0..11, int]
|
||||
|
||||
a[8] = 1
|
||||
|
||||
|
||||
Loading…
Add table
Add a link
Reference in a new issue