parent
30621c4a89
commit
b1c2416abd
3 changed files with 13 additions and 0 deletions
10
tests/pragmas/t8741.nim
Normal file
10
tests/pragmas/t8741.nim
Normal file
|
|
@ -0,0 +1,10 @@
|
|||
discard """
|
||||
line: 9
|
||||
errormsg: "attempting to call undeclared routine: 'foobar'"
|
||||
"""
|
||||
|
||||
for a {.gensym, inject.} in @[1,2,3]:
|
||||
discard
|
||||
|
||||
for a {.foobar.} in @[1,2,3]:
|
||||
discard
|
||||
Loading…
Add table
Add a link
Reference in a new issue