summaryrefslogtreecommitdiff
path: root/Test/extractloops/t2.bpl
diff options
context:
space:
mode:
authorGravatar qadeer <qadeer@microsoft.com>2012-05-24 17:00:20 -0700
committerGravatar qadeer <qadeer@microsoft.com>2012-05-24 17:00:20 -0700
commit4b3a8d03572ebc929f28d5a16a9aeacbee7c2b6e (patch)
treeac30b1aab0e93ad892c329238e85843bd59bb34c /Test/extractloops/t2.bpl
parentd29bfc833694c38a4166ace7a04b1ac957d45b14 (diff)
updated test
Diffstat (limited to 'Test/extractloops/t2.bpl')
-rw-r--r--Test/extractloops/t2.bpl14
1 files changed, 5 insertions, 9 deletions
diff --git a/Test/extractloops/t2.bpl b/Test/extractloops/t2.bpl
index d0011929..93f80f20 100644
--- a/Test/extractloops/t2.bpl
+++ b/Test/extractloops/t2.bpl
@@ -1,22 +1,20 @@
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;
@@ -48,8 +46,6 @@ implementation A()
goto anon2;
anon2:
- assert false;
- assert x == 1;
return;
}