summaryrefslogtreecommitdiff
path: root/Test/lazyinline/bar8.bpl
diff options
context:
space:
mode:
Diffstat (limited to 'Test/lazyinline/bar8.bpl')
-rw-r--r--Test/lazyinline/bar8.bpl16
1 files changed, 16 insertions, 0 deletions
diff --git a/Test/lazyinline/bar8.bpl b/Test/lazyinline/bar8.bpl
new file mode 100644
index 00000000..dd6dab31
--- /dev/null
+++ b/Test/lazyinline/bar8.bpl
@@ -0,0 +1,16 @@
+var x: int;
+var y: int;
+
+procedure {:inline 1} foo()
+{
+ assert x == y;
+}
+
+procedure main()
+requires x == y;
+modifies x, y;
+{
+ x := x + 1;
+ call foo();
+}
+