summaryrefslogtreecommitdiff
path: root/Test/test0/BadLabels1.bpl.expect
diff options
context:
space:
mode:
authorGravatar Dan Liew <daniel.liew@imperial.ac.uk>2014-05-05 19:51:59 +0100
committerGravatar Dan Liew <daniel.liew@imperial.ac.uk>2014-05-05 19:51:59 +0100
commit3b38b009d086c601cae884ad62ceeb9bb16ae5d5 (patch)
tree3c06797a3003d92166606a8ddd12881f412d076f /Test/test0/BadLabels1.bpl.expect
parentccf94ed737752c21edff3cab8a71de0766a48d1c (diff)
Enabled most of the name resolution lit tests. They don't all pass
yet due to a bug in -useBaseNameForFileName.
Diffstat (limited to 'Test/test0/BadLabels1.bpl.expect')
-rw-r--r--Test/test0/BadLabels1.bpl.expect9
1 files changed, 9 insertions, 0 deletions
diff --git a/Test/test0/BadLabels1.bpl.expect b/Test/test0/BadLabels1.bpl.expect
new file mode 100644
index 00000000..e722a1b1
--- /dev/null
+++ b/Test/test0/BadLabels1.bpl.expect
@@ -0,0 +1,9 @@
+BadLabels1.bpl(6,3): error: Error: goto label 'X' is undefined
+BadLabels1.bpl(7,3): error: Error: goto label 'Y' is undefined
+BadLabels1.bpl(49,3): error: Error: break statement is not inside a loop
+BadLabels1.bpl(51,5): error: Error: break statement is not inside a loop
+BadLabels1.bpl(62,5): error: Error: break label 'B' must designate an enclosing statement
+BadLabels1.bpl(65,5): error: Error: break label 'A' must designate an enclosing statement
+BadLabels1.bpl(66,5): error: Error: break label 'C' must designate an enclosing statement
+BadLabels1.bpl(67,8): error: Error: break label 'F' must designate an enclosing statement
+8 parse errors detected in BadLabels1.bpl