Skip to content

Commit ee5d443

Browse files
committed
Improve test.
1 parent 60db4a0 commit ee5d443

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

test/const_read.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,6 @@ int read_val(const int *x)
99
int call_read_val() {
1010
int x = 67;
1111
int y = read_val(&x);
12-
_assert(y == x);
12+
_assert(y == x && x == 67);
1313
return y;
1414
}

0 commit comments

Comments
 (0)