diff options
Diffstat (limited to 'tests/accept/run/tunhandledexc.nim')
-rwxr-xr-x | tests/accept/run/tunhandledexc.nim | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/tests/accept/run/tunhandledexc.nim b/tests/accept/run/tunhandledexc.nim index 36ba5418d..c60de2234 100755 --- a/tests/accept/run/tunhandledexc.nim +++ b/tests/accept/run/tunhandledexc.nim @@ -1,3 +1,7 @@ +discard """ + file: "tunhandledexc.nim" + output: "Error: unhandled exception: bla [ESomeOtherErr]" +""" type ESomething = object of E_Base ESomeOtherErr = object of E_Base @@ -14,3 +18,5 @@ when True: except ESomething: echo("Error happened") + + |