mirror of
https://github.com/nim-lang/Nim.git
synced 2025-12-30 09:54:49 +00:00
9 lines
119 B
Nim
9 lines
119 B
Nim
discard """
|
|
errormsg: "'+' cannot be passed to a procvar"
|
|
line: 8
|
|
"""
|
|
|
|
# bug #2050
|
|
|
|
let v: proc (a, b: int): int = `+`
|