parent
3e03f67335
commit
b1b767ed0d
1 changed files with 6 additions and 0 deletions
6
tests/proc/t17157.nim
Normal file
6
tests/proc/t17157.nim
Normal file
|
|
@ -0,0 +1,6 @@
|
|||
discard """
|
||||
errormsg: "'untyped' is only allowed in templates and macros or magic procs"
|
||||
"""
|
||||
|
||||
template something(op: proc (v: untyped): void): void =
|
||||
discard
|
||||
Loading…
Add table
Add a link
Reference in a new issue