We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 2d33fde commit 53c744aCopy full SHA for 53c744a
regression/cbmc/z3/Issue5970.c
@@ -0,0 +1,11 @@
1
+#include <assert.h>
2
+
3
+void main()
4
+{
5
+ unsigned A, x[64];
6
+ // clang-format off
7
+ __CPROVER_assume(0 <= A && A < 64);
8
+ __CPROVER_assume(__CPROVER_forall { int i ; (0 <= i && i < A) ==> x[i] >= 1 });
9
+ // clang-format on
10
+ assert(x[0] > 0);
11
+}
regression/cbmc/z3/Issue5970.desc
@@ -0,0 +1,12 @@
+CORE smt-backend broken-cprover-smt-backend
+Issue5970.c
+--z3
+^EXIT=10$
+^SIGNAL=0$
+^\[main\.assertion\.1\] line 8 assertion x\[0\] > 0: FAILURE$
+--
+invalid get-value term, term must be ground and must not contain quantifiers
+^\[main\.assertion\.1\] line 8 assertion x\[0\] > 0: ERROR$
+This tests that attempts to "(get-value |XXX|)" from z3 sat results
12
+are handled and do not cause an error message or ERROR result.
0 commit comments