We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent d00b242 commit 046ed40Copy full SHA for 046ed40
regression/cbmc/null4/main.c
@@ -0,0 +1,9 @@
1
+int main()
2
+{
3
+ void *ptr;
4
+ if(ptr == 0)
5
+ {
6
+ return 0;
7
+ }
8
+ __CPROVER_assert(ptr != 0, "null");
9
+}
regression/cbmc/null4/test.desc
@@ -0,0 +1,11 @@
+CORE
+main.c
+
+^EXIT=0$
+^SIGNAL=0$
+^VERIFICATION SUCCESSFUL$
+--
+^warning: ignoring
10
+Pull request #4444 introduced optimisations during symbolic execution that
11
+caused this test to spuriously fail (as the branch `ptr == 0` was removed).
0 commit comments