mirror of
https://github.com/nim-lang/Nim.git
synced 2026-02-12 14:23:45 +00:00
11 lines
169 B
Nim
11 lines
169 B
Nim
discard """
|
|
errormsg: "{.pop.} without a corresponding {.push.}"
|
|
"""
|
|
|
|
block:
|
|
{.push raises: [].}
|
|
|
|
proc f() =
|
|
{.pop.}
|
|
|
|
proc g() = raise newException(ValueError, "") |