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.
2 parents 66dff5a + 520ef1c commit 66b5df8Copy full SHA for 66b5df8
tests/regression/82-widening_gas/04-side_simple_update.c
@@ -12,9 +12,15 @@ void *thread(void *arg) {
12
pthread_mutex_lock(&A);
13
a = 1;
14
b = 1;
15
- b = 2;
16
c = 1;
+ pthread_mutex_unlock(&A);
17
+
18
+ pthread_mutex_lock(&A);
19
+ b = 2;
20
c = 2;
21
22
23
24
c = 3;
25
pthread_mutex_unlock(&A);
26
return NULL;
@@ -28,7 +34,7 @@ int main(void) {
28
34
29
35
__goblint_check(a <= 1);
30
36
__goblint_check(b <= 2);
31
- __goblint_check(c <= 3);
37
+ __goblint_check(c <= 3);
32
38
33
39
return 0;
40
}
0 commit comments