parent
c7c495f08a
commit
6b88ce3384
3 changed files with 14 additions and 2 deletions
7
tests/errmsgs/t10594.nim
Normal file
7
tests/errmsgs/t10594.nim
Normal file
|
|
@ -0,0 +1,7 @@
|
|||
discard """
|
||||
errormsg: "expression has no address"
|
||||
line: 7
|
||||
"""
|
||||
|
||||
template foo(v: varargs[int]) = unsafeAddr v
|
||||
foo(1, 2)
|
||||
Loading…
Add table
Add a link
Reference in a new issue