diff options
author | qadeer <qadeer@microsoft.com> | 2012-05-24 17:00:20 -0700 |
---|---|---|
committer | qadeer <qadeer@microsoft.com> | 2012-05-24 17:00:20 -0700 |
commit | 4b3a8d03572ebc929f28d5a16a9aeacbee7c2b6e (patch) | |
tree | ac30b1aab0e93ad892c329238e85843bd59bb34c /Test/extractloops/t3.bpl | |
parent | d29bfc833694c38a4166ace7a04b1ac957d45b14 (diff) |
updated test
Diffstat (limited to 'Test/extractloops/t3.bpl')
-rw-r--r-- | Test/extractloops/t3.bpl | 15 |
1 files changed, 6 insertions, 9 deletions
diff --git a/Test/extractloops/t3.bpl b/Test/extractloops/t3.bpl index e5fad6d1..d14767ab 100644 --- a/Test/extractloops/t3.bpl +++ b/Test/extractloops/t3.bpl @@ -1,22 +1,19 @@ var g: int;
-procedure A();
- requires g == 0;
- modifies g;
-
-procedure {:inline 1} {:verify false} foo();
-
-implementation foo() {
+procedure foo()
+{
var t: int;
t := 0;
}
-implementation A()
+procedure {:entrypoint} A()
+modifies g;
{
var x: int;
var y: int;
anon0:
+ assume g == 0;
x := 4;
goto anon3_LoopHead, anon3_LoopBody;
@@ -35,7 +32,7 @@ implementation A() goto anon2;
anon2:
- assert x == 1;
+ assume x != 1;
return;
}
|