We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 5a18428 commit 0889b84Copy full SHA for 0889b84
regression/cbmc-incr-smt2/nondeterministic-int-assert/valid_unsat.c
@@ -0,0 +1,12 @@
1
+
2
+int main()
3
+{
4
+ int x;
5
+ int y;
6
+ if(y)
7
+ y = x;
8
+ else
9
10
+ __CPROVER_assert(y == x, "Nondeterministic int assert.");
11
+ return 0;
12
+}
regression/cbmc-incr-smt2/nondeterministic-int-assert/valid_unsat.desc
@@ -0,0 +1,14 @@
+CORE winbug
+valid_unsat.c
+--incremental-smt2-solver "z3 --smt2 -in" --verbosity 10
+Passing problem to incremental SMT2 solving via "z3 --smt2 -in"
+Sending command to SMT2 solver - \(check-sat\)
+Solver response - unsat
+VERIFICATION SUCCESSFUL
+^EXIT=0$
+^SIGNAL=0$
+--
+type: pointer
13
+Test that given a `.c` program where all assertions hold, the solver responds
14
+with unsat and CBMC reports that verification is successful.
0 commit comments