Skip to content

Commit a1caa65

Browse files
author
Simon Tietz
committed
our tests pass make test (random tests fail though for some reason)
1 parent c7b4256 commit a1caa65

File tree

3 files changed

+4
-13
lines changed

3 files changed

+4
-13
lines changed

tests/regression/79-assembly/07-asm-exp-split.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ int main(void) {
66
__goblint_split_begin(x);
77
x = r ? 1 : 0;
88
asm("nop" : "=x" (x), "=x" (r));
9-
__goblint_check(x == 0 || x == 1);
9+
__goblint_check(x == 0 || x == 1); // UNKNOWN (without asm it would be known)
1010
__goblint_split_end(x);
11-
__goblint_check(x == 0 || x == 1); // UNKNOWN (intentionally)
11+
__goblint_check(x == 0 || x == 1); // UNKNOWN
1212
}

tests/regression/79-assembly/100-invalidate-asm.c

Lines changed: 0 additions & 9 deletions
This file was deleted.

tests/regression/79-assembly/32-asm-mem-leak.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,8 +12,8 @@ void ok(void) {
1212
void not_ok(void) {
1313
char *x = malloc(64);
1414
asm ("nop" : "=x" (x));
15-
free(x);
16-
return; //WARN
15+
free(x); //WARN
16+
return;
1717
}
1818

1919
int main(void) {

0 commit comments

Comments
 (0)