summaryrefslogtreecommitdiff
path: root/Test/AbsHoudini/test8.bpl
diff options
context:
space:
mode:
authorGravatar akashlal <unknown>2013-04-18 22:29:51 +0530
committerGravatar akashlal <unknown>2013-04-18 22:29:51 +0530
commit2afe289c11d78711d4483e1ed36346998689668c (patch)
tree2d09536f42cfcd000aeeeeef00b8365ae1ef0928 /Test/AbsHoudini/test8.bpl
parenta2fcc9e7617800e2139a9cbbfa720222e4c1b6f5 (diff)
AbsHoudini: Added support for /inlineDepth, and fixed the regression tests
(all pass)
Diffstat (limited to 'Test/AbsHoudini/test8.bpl')
-rw-r--r--Test/AbsHoudini/test8.bpl8
1 files changed, 6 insertions, 2 deletions
diff --git a/Test/AbsHoudini/test8.bpl b/Test/AbsHoudini/test8.bpl
index 12eab481..6c55016a 100644
--- a/Test/AbsHoudini/test8.bpl
+++ b/Test/AbsHoudini/test8.bpl
@@ -1,3 +1,5 @@
+function {:existential true} Assert(): bool;
+
var g: int;
procedure main()
@@ -5,7 +7,7 @@ modifies g;
{
g := 0;
call foo();
- assert g == 1;
+ assert Assert() || g == 1;
}
procedure {:inline 1} foo()
@@ -18,4 +20,6 @@ procedure bar()
modifies g;
{
g := g + 1;
-} \ No newline at end of file
+}
+
+// Expected: Assert = false