mirror of
https://github.com/nim-lang/Nim.git
synced 2026-02-12 22:33:49 +00:00
11 lines
154 B
Nim
11 lines
154 B
Nim
discard """
|
|
matrix: "--warningaserror:BareExcept"
|
|
"""
|
|
|
|
{.warning[BareExcept]:on.}:
|
|
discard
|
|
|
|
try:
|
|
echo "Y"
|
|
except: # warning disabled here
|
|
discard |