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 cb1a698 commit ef8ca20Copy full SHA for ef8ca20
tests/regression/57-floats/14-isgreater.c
@@ -2,6 +2,8 @@
2
#include <math.h>
3
#include <goblint.h>
4
5
+int g = 8;
6
+
7
int main(void)
8
{
9
int x = isgreater(2.0, 1.0);
@@ -16,5 +18,8 @@ int main(void)
16
18
__goblint_check(x);
17
19
x = !isgreater(INFINITY, INFINITY);
20
21
22
+ // Check globals have not been invalidated
23
+ __goblint_check(g == 8);
24
return 0;
25
}
0 commit comments