diff options
author | Checkmate50 <dgeisler50@gmail.com> | 2016-06-06 23:14:18 -0600 |
---|---|---|
committer | Checkmate50 <dgeisler50@gmail.com> | 2016-06-06 23:14:18 -0600 |
commit | d652155ae013f36a1ee17653a8e458baad2d9c2c (patch) | |
tree | 067d600fe3cd1723afc11682935f0123a1eab653 /Test/test0/BadLabels0.bpl | |
parent | d7fc0deb2ca6d7ebee094b6ea5430d9b41f163ec (diff) |
Merging complete. Everything looks good *crosses fingers*
Diffstat (limited to 'Test/test0/BadLabels0.bpl')
-rw-r--r-- | Test/test0/BadLabels0.bpl | 30 |
1 files changed, 15 insertions, 15 deletions
diff --git a/Test/test0/BadLabels0.bpl b/Test/test0/BadLabels0.bpl index b3f6f896..6b02a2d1 100644 --- a/Test/test0/BadLabels0.bpl +++ b/Test/test0/BadLabels0.bpl @@ -1,15 +1,15 @@ -// RUN: %boogie -noVerify "%s" > "%t"
-// RUN: %diff "%s.expect" "%t"
-procedure Dup(y: int)
-{
- X:
- X: // error: duplicate label
- while (y < 100)
- {
- Y:
- }
- while (y < 1000)
- {
- Y: // error: duplicate label (labels must be unique in entire procedure body)
- }
-}
+// RUN: %boogie -noVerify "%s" > "%t" +// RUN: %diff "%s.expect" "%t" +procedure Dup(y: int) +{ + X: + X: // error: duplicate label + while (y < 100) + { + Y: + } + while (y < 1000) + { + Y: // error: duplicate label (labels must be unique in entire procedure body) + } +} |