diff options
author | Unknown <akashl@akash-desk.fareast.corp.microsoft.com> | 2012-04-24 15:41:40 +0530 |
---|---|---|
committer | Unknown <akashl@akash-desk.fareast.corp.microsoft.com> | 2012-04-24 15:41:40 +0530 |
commit | 9b20e96cc4ca31eff8128965def3284c650c572f (patch) | |
tree | 66a0e3838e0fb3ae5408886873f200f399fbffed /Test/stratifiedinline/bar11.bpl | |
parent | 4c54cedf8a081499583be60f164dbbb29c6c73ac (diff) |
Added test to stratified inlining.
Don't use UNSAT core for the refinement step.
Diffstat (limited to 'Test/stratifiedinline/bar11.bpl')
-rw-r--r-- | Test/stratifiedinline/bar11.bpl | 32 |
1 files changed, 32 insertions, 0 deletions
diff --git a/Test/stratifiedinline/bar11.bpl b/Test/stratifiedinline/bar11.bpl new file mode 100644 index 00000000..baad27a1 --- /dev/null +++ b/Test/stratifiedinline/bar11.bpl @@ -0,0 +1,32 @@ +var x: int;
+var y: int;
+procedure boogie_si_record_int(x:int);
+
+procedure {:inline 1} bar()
+modifies y;
+{
+ y := y + 1;
+ call boogie_si_record_int(y);
+}
+
+procedure {:inline 1} foo()
+modifies x, y;
+{
+ call boogie_si_record_int(x);
+ x := x + 1;
+ call bar();
+ call bar();
+ x := x + 1;
+ call boogie_si_record_int(x);
+}
+
+procedure main()
+requires x == 0;
+requires x == y;
+ensures x != y;
+modifies x, y;
+{
+
+ call foo();
+}
+
|