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/test2/OldIllegal.bpl | |
parent | d7fc0deb2ca6d7ebee094b6ea5430d9b41f163ec (diff) |
Merging complete. Everything looks good *crosses fingers*
Diffstat (limited to 'Test/test2/OldIllegal.bpl')
-rw-r--r-- | Test/test2/OldIllegal.bpl | 36 |
1 files changed, 18 insertions, 18 deletions
diff --git a/Test/test2/OldIllegal.bpl b/Test/test2/OldIllegal.bpl index b9f7bd75..0a9b9b54 100644 --- a/Test/test2/OldIllegal.bpl +++ b/Test/test2/OldIllegal.bpl @@ -1,18 +1,18 @@ -// RUN: %boogie -noinfer "%s" > "%t"
-// RUN: %diff "%s.expect" "%t"
-// Test old appearing in illegal locations
-
-var Global0: int;
-
-// Bad
-procedure OldInCode1()
- requires old(Global0) == 0;
-{
- start:
- return;
-}
-
-// Bad
-axiom (forall o:ref :: old(o) == o);
-
-type ref;
+// RUN: %boogie -noinfer "%s" > "%t" +// RUN: %diff "%s.expect" "%t" +// Test old appearing in illegal locations + +var Global0: int; + +// Bad +procedure OldInCode1() + requires old(Global0) == 0; +{ + start: + return; +} + +// Bad +axiom (forall o:ref :: old(o) == o); + +type ref; |