diff options
Diffstat (limited to 'tests/reject/tblock1.nim')
-rwxr-xr-x | tests/reject/tblock1.nim | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/tests/reject/tblock1.nim b/tests/reject/tblock1.nim index 0bea7ae7f..5c41aaf82 100755 --- a/tests/reject/tblock1.nim +++ b/tests/reject/tblock1.nim @@ -1,3 +1,8 @@ +discard """ + file: "tblock1.nim" + line: 14 + errormsg: "undeclared identifier: \'ha\'" +""" # check for forward label and # for failure when label is not declared @@ -9,3 +14,5 @@ proc main = break ha #ERROR main() + + |