We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 33561aa commit c9b37c7Copy full SHA for c9b37c7
regression/cbmc/extern3/main.c
@@ -0,0 +1,11 @@
1
+#include <assert.h>
2
+
3
+extern int x;
4
5
+int main(int argc, char *argv[])
6
+{
7
+ if(argc > 5)
8
+ x = 42;
9
10
+ __CPROVER_assert(x == 42, "should fail");
11
+}
regression/cbmc/extern3/test.desc
@@ -0,0 +1,10 @@
+KNOWNBUG
+main.c
+^EXIT=10$
+^SIGNAL=0$
+^VERIFICATION FAILED$
+--
+The change to phi_function of 646cf29941499 failed to consider the case of
+extern variables, which we leave uninitialised.
0 commit comments