diff options
Diffstat (limited to 'Test/test1/AssumptionVariables0.bpl')
-rw-r--r-- | Test/test1/AssumptionVariables0.bpl | 114 |
1 files changed, 57 insertions, 57 deletions
diff --git a/Test/test1/AssumptionVariables0.bpl b/Test/test1/AssumptionVariables0.bpl index 7046ea59..7ebd3d24 100644 --- a/Test/test1/AssumptionVariables0.bpl +++ b/Test/test1/AssumptionVariables0.bpl @@ -1,57 +1,57 @@ -// RUN: %boogie -noVerify "%s" > "%t"
-// RUN: %diff "%s.expect" "%t"
-procedure Test0()
-{
- var {:assumption} a0: bool where a0; // error
-}
-
-
-procedure Test1()
-{
- var {:assumption} a0: bool;
-
- a0 := a0 && true;
-}
-
-
-procedure Test2()
-{
- var {:assumption} a0: bool;
-
- a0 := true; // error
-}
-
-
-procedure Test3()
-{
- var {:assumption} a0: bool;
- var {:assumption} a1: bool;
-
- a0 := a1 && true; // error
-}
-
-
-procedure Test4()
-{
- var {:assumption} a0: bool;
-
- a0 := a0 && true;
- a0 := a0 && true; // error
-}
-
-
-procedure Test5()
- modifies a0;
-{
- a0 := a0 && true;
-}
-
-
-var {:assumption} a0: bool;
-
-
-procedure Test6()
- modifies a0;
-{
- a0 := a0 && true; // error
-}
+// RUN: %boogie -noVerify "%s" > "%t" +// RUN: %diff "%s.expect" "%t" +procedure Test0() +{ + var {:assumption} a0: bool where a0; // error +} + + +procedure Test1() +{ + var {:assumption} a0: bool; + + a0 := a0 && true; +} + + +procedure Test2() +{ + var {:assumption} a0: bool; + + a0 := true; // error +} + + +procedure Test3() +{ + var {:assumption} a0: bool; + var {:assumption} a1: bool; + + a0 := a1 && true; // error +} + + +procedure Test4() +{ + var {:assumption} a0: bool; + + a0 := a0 && true; + a0 := a0 && true; // error +} + + +procedure Test5() + modifies a0; +{ + a0 := a0 && true; +} + + +var {:assumption} a0: bool; + + +procedure Test6() + modifies a0; +{ + a0 := a0 && true; // error +} |