summaryrefslogtreecommitdiff
path: root/Test/stratifiedinline/bar2.bpl
diff options
context:
space:
mode:
authorGravatar qadeer <qadeer@microsoft.com>2012-05-24 16:39:53 -0700
committerGravatar qadeer <qadeer@microsoft.com>2012-05-24 16:39:53 -0700
commit24d95742398c646d2dbb42ff8301d6b714617620 (patch)
treea7e85812aa517602b2ff06caa116c71be57be15e /Test/stratifiedinline/bar2.bpl
parent828a2c081cb113a266986b50cec0ac93a6c2b27f (diff)
more refactoring in stratified inlining
Diffstat (limited to 'Test/stratifiedinline/bar2.bpl')
-rw-r--r--Test/stratifiedinline/bar2.bpl7
1 files changed, 3 insertions, 4 deletions
diff --git a/Test/stratifiedinline/bar2.bpl b/Test/stratifiedinline/bar2.bpl
index 76991a8f..6c383591 100644
--- a/Test/stratifiedinline/bar2.bpl
+++ b/Test/stratifiedinline/bar2.bpl
@@ -1,5 +1,4 @@
-
-procedure {:inline 1} foo() returns (x: bool)
+procedure foo() returns (x: bool)
{
var b: bool;
if (b) {
@@ -11,14 +10,14 @@ procedure {:inline 1} foo() returns (x: bool)
}
}
-procedure main()
+procedure {:entrypoint} main()
{
var b1: bool;
var b2: bool;
call b1 := foo();
call b2 := foo();
- assert b1 == b2;
+ assume b1 != b2;
}