mirror of
https://github.com/nim-lang/Nim.git
synced 2025-12-29 17:34:43 +00:00
9 lines
149 B
Nim
9 lines
149 B
Nim
discard """
|
|
errormsg: "'+' is a built-in and cannot be used as a first-class procedure"
|
|
line: 8
|
|
"""
|
|
|
|
# bug #2050
|
|
|
|
let v: proc (a, b: int): int = `+`
|