Files
Nim/tests/errmsgs/t23355.nim
2025-05-04 03:29:59 +02:00

11 lines
169 B
Nim

discard """
errormsg: "{.pop.} without a corresponding {.push.}"
"""
block:
{.push raises: [].}
proc f() =
{.pop.}
proc g() = raise newException(ValueError, "")