diff options
Diffstat (limited to 'tests/reject/tblock1.nim')
-rwxr-xr-x | tests/reject/tblock1.nim | 18 |
1 files changed, 0 insertions, 18 deletions
diff --git a/tests/reject/tblock1.nim b/tests/reject/tblock1.nim deleted file mode 100755 index 5c41aaf82..000000000 --- a/tests/reject/tblock1.nim +++ /dev/null @@ -1,18 +0,0 @@ -discard """ - file: "tblock1.nim" - line: 14 - errormsg: "undeclared identifier: \'ha\'" -""" -# check for forward label and -# for failure when label is not declared - -proc main = - block endLess: - write(stdout, "Muaahh!\N") - break endLess - - break ha #ERROR - -main() - - |