summaryrefslogtreecommitdiff
path: root/Test/inline/fundef.bpl.expect
diff options
context:
space:
mode:
Diffstat (limited to 'Test/inline/fundef.bpl.expect')
-rw-r--r--Test/inline/fundef.bpl.expect15
1 files changed, 15 insertions, 0 deletions
diff --git a/Test/inline/fundef.bpl.expect b/Test/inline/fundef.bpl.expect
new file mode 100644
index 00000000..5adced6d
--- /dev/null
+++ b/Test/inline/fundef.bpl.expect
@@ -0,0 +1,15 @@
+
+function {:inline true} foo(x: int) : bool
+{
+ x > 0
+}
+
+function {:inline false} foo2(x: int) : bool;
+
+axiom (forall x: int :: {:inline false} { foo2(x): bool } foo2(x): bool == (x > 0));
+
+function foo3(x: int) : bool;
+
+axiom (forall x: int :: { foo3(x): bool } foo3(x): bool == (x > 0));
+
+Boogie program verifier finished with 0 verified, 0 errors