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 2d2c18e commit c09dc87Copy full SHA for c09dc87
regression/goto-harness/havoc-global-int-03/main.c
@@ -0,0 +1,10 @@
1
+int x = 1;
2
+
3
+int main()
4
+{
5
+ assert(x == 1); //unreachable, hence success
6
+ assert(x == 2);
7
+ assert(x == 3);
8
9
+ return 0;
10
+}
regression/goto-harness/havoc-global-int-03/test.desc
+CORE
+main.c
+--harness-type initialise-with-memory-snapshot --memory-snapshot ../load-snapshot-json-snapshots/global-int-x-1-snapshot.json --initial-line 6 --havoc-variables x
+^EXIT=10$
+^SIGNAL=0$
+\[main.assertion.1\] line [0-9]+ assertion x == 1: SUCCESS
+\[main.assertion.2\] line [0-9]+ assertion x == 2: FAILURE
+\[main.assertion.3\] line [0-9]+ assertion x == 3: FAILURE
+--
+^warning: ignoring
0 commit comments