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 47ad91a commit d8c6441Copy full SHA for d8c6441
regression/goto-instrument/nondet-volatile-04/test.c
@@ -0,0 +1,10 @@
1
+#include <assert.h>
2
+
3
+volatile int x;
4
+int y;
5
6
+void main()
7
+{
8
+ y = x;
9
+ assert(x == y);
10
+}
regression/goto-instrument/nondet-volatile-04/test.desc
@@ -0,0 +1,9 @@
+CORE
+test.c
+--nondet-volatile
+^\[main.assertion.1\] line \d+ assertion x == y: FAILURE$
+^EXIT=10$
+^SIGNAL=0$
+--
+Check interaction between a volatile and a non-volatile variable
0 commit comments