Skip to content

Commit

Permalink
include test failure condition
Browse files Browse the repository at this point in the history
  • Loading branch information
saem committed Sep 7, 2024
1 parent 7cf6b7d commit d8631ad
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions tests/lang_exprs/tnoreturn_nested_reject.nim
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,8 @@ discard """
description: '''
Ensure nested non-noreturn statements aren't treated as such
'''
errormsg: "expression '10' is of type 'int literal(10)' and has to be used (or discarded)"
line: 11
"""

let x =
Expand Down

0 comments on commit d8631ad

Please sign in to comment.