diff options
author | akashlal <unknown> | 2013-10-21 19:52:19 +0530 |
---|---|---|
committer | akashlal <unknown> | 2013-10-21 19:52:19 +0530 |
commit | cfd809c669908fd5c00344901e4d146308860f49 (patch) | |
tree | a6de77c0011d0ee458f48835de1fdacfe2249033 /Test/stratifiedinline | |
parent | 350ccedd0c5e4816d03ab2c2231ba8012557da74 (diff) |
And a test case
Diffstat (limited to 'Test/stratifiedinline')
-rw-r--r-- | Test/stratifiedinline/Answer | 7 | ||||
-rw-r--r-- | Test/stratifiedinline/bar12.bpl | 8 | ||||
-rw-r--r-- | Test/stratifiedinline/runtest.bat | 3 |
3 files changed, 18 insertions, 0 deletions
diff --git a/Test/stratifiedinline/Answer b/Test/stratifiedinline/Answer index dd5344e8..d2600aad 100644 --- a/Test/stratifiedinline/Answer +++ b/Test/stratifiedinline/Answer @@ -502,3 +502,10 @@ Execution trace: Boogie program verifier finished with 0 verified, 1 error
-----
+----- Running regression test bar12.bpl
+(0,0): Error BP5001: This assertion might not hold.
+Execution trace:
+ bar12.bpl(6,4): anon0
+
+Boogie program verifier finished with 0 verified, 1 error
+-----
diff --git a/Test/stratifiedinline/bar12.bpl b/Test/stratifiedinline/bar12.bpl new file mode 100644 index 00000000..863f9dc0 --- /dev/null +++ b/Test/stratifiedinline/bar12.bpl @@ -0,0 +1,8 @@ +function {:inline} f(a:bool) : bool { true }
+
+procedure {:entrypoint} main()
+{
+ var x: int;
+ assume f(x >= 0);
+ assume x >= 0;
+}
diff --git a/Test/stratifiedinline/runtest.bat b/Test/stratifiedinline/runtest.bat index 07261c4d..d4b9c811 100644 --- a/Test/stratifiedinline/runtest.bat +++ b/Test/stratifiedinline/runtest.bat @@ -34,4 +34,7 @@ echo ----- echo ----- Running regression test bar11.bpl
%BGEXE% %* /stratifiedInline:1 /vc:i bar11.bpl
echo -----
+echo ----- Running regression test bar12.bpl
+%BGEXE% %* /stratifiedInline:1 /vc:i bar12.bpl
+echo -----
|