diff options
Diffstat (limited to 'Test')
-rw-r--r-- | Test/lazyinline/fooret.bpl | 36 |
1 files changed, 36 insertions, 0 deletions
diff --git a/Test/lazyinline/fooret.bpl b/Test/lazyinline/fooret.bpl new file mode 100644 index 00000000..c81baaf1 --- /dev/null +++ b/Test/lazyinline/fooret.bpl @@ -0,0 +1,36 @@ +
+procedure A()
+{
+ var x : int;
+ var y : int;
+ var nondet: bool;
+
+start:
+ x := 0;
+ assume y == 2;
+ goto lh;
+
+lh:
+ goto lab1, lab2;
+
+lab1:
+ assume x < y;
+ x := x + 1;
+ havoc nondet;
+ goto lab3, lab4;
+
+lab3:
+ assume !nondet;
+ goto lh;
+
+lab4:
+ assume nondet;
+ return;
+
+lab2:
+ assume x >= y;
+ assert false;
+
+}
+
+
|