diff options
author | akashlal <unknown> | 2013-04-18 22:29:51 +0530 |
---|---|---|
committer | akashlal <unknown> | 2013-04-18 22:29:51 +0530 |
commit | 2afe289c11d78711d4483e1ed36346998689668c (patch) | |
tree | 2d09536f42cfcd000aeeeeef00b8365ae1ef0928 /Test/AbsHoudini/test7.bpl | |
parent | a2fcc9e7617800e2139a9cbbfa720222e4c1b6f5 (diff) |
AbsHoudini: Added support for /inlineDepth, and fixed the regression tests
(all pass)
Diffstat (limited to 'Test/AbsHoudini/test7.bpl')
-rw-r--r-- | Test/AbsHoudini/test7.bpl | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/Test/AbsHoudini/test7.bpl b/Test/AbsHoudini/test7.bpl index b5c6a4c6..bfe8a32d 100644 --- a/Test/AbsHoudini/test7.bpl +++ b/Test/AbsHoudini/test7.bpl @@ -1,3 +1,5 @@ +function {:existential true} Assert() : bool;
+
var g: int;
procedure main()
@@ -5,11 +7,13 @@ modifies g; {
g := 0;
call foo();
- assert g == 1;
+ assert Assert() || g == 1;
}
procedure foo()
modifies g;
{
g := g + 1;
-}
\ No newline at end of file +}
+
+// Expected: Assert = false
|