diff options
author | qadeer <qadeer@microsoft.com> | 2012-05-24 16:39:53 -0700 |
---|---|---|
committer | qadeer <qadeer@microsoft.com> | 2012-05-24 16:39:53 -0700 |
commit | 24d95742398c646d2dbb42ff8301d6b714617620 (patch) | |
tree | a7e85812aa517602b2ff06caa116c71be57be15e /Test/stratifiedinline/bar1.bpl | |
parent | 828a2c081cb113a266986b50cec0ac93a6c2b27f (diff) |
more refactoring in stratified inlining
Diffstat (limited to 'Test/stratifiedinline/bar1.bpl')
-rw-r--r-- | Test/stratifiedinline/bar1.bpl | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/Test/stratifiedinline/bar1.bpl b/Test/stratifiedinline/bar1.bpl index 845954d5..bd210f70 100644 --- a/Test/stratifiedinline/bar1.bpl +++ b/Test/stratifiedinline/bar1.bpl @@ -1,13 +1,13 @@ var x: int;
var y: int;
-procedure {:inline 1} bar()
+procedure bar()
modifies y;
{
y := y + 1;
}
-procedure {:inline 1} foo()
+procedure foo()
modifies x, y;
{
x := x + 1;
@@ -16,11 +16,11 @@ modifies x, y; x := x + 1;
}
-procedure main()
-requires x == y;
-ensures x != y;
+procedure {:entrypoint} main()
modifies x, y;
{
+ assume x == y;
call foo();
+ assume x == y;
}
|