Skip to content

Commit 3e2ad1c

Browse files
committed
Add failing test for the ignore-before-unwind option
to be fixed, but until then, marked as KNOWBUG.
1 parent 39c5ac8 commit 3e2ad1c

File tree

2 files changed

+23
-0
lines changed

2 files changed

+23
-0
lines changed
Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
int main()
2+
{
3+
__CPROVER_bool assumption = (__CPROVER_bool)0;
4+
__CPROVER_bool property = (__CPROVER_bool)1;
5+
6+
while(1)
7+
{
8+
__CPROVER_assume(property == 1);
9+
assumption = 1;
10+
property = 0;
11+
__CPROVER_assert(property == 1, "property");
12+
}
13+
return 0;
14+
}
Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
KNOWNBUG
2+
main.c
3+
--ignore-properties-before-unwind-min --incremental-loop main.0 --no-unwinding-assertions --max-node-refinement 1 --unwind-max 2
4+
^EXIT=10$
5+
^SIGNAL=0$
6+
^\[main.assertion.\d+\] line \d+ property: FAILURE$
7+
^VERIFICATION FAILED$
8+
--
9+
^warning: ignoring

0 commit comments

Comments
 (0)