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.
write
1 parent 6a92b9c commit 556551eCopy full SHA for 556551e
src/test/watchpoint_unaligned2.c
@@ -14,7 +14,7 @@ int main(void) {
14
15
// This will fail; we just want the compiler to not optimize out
16
// the store.
17
- write(STDIN_FILENO, &value, sizeof(value));
+ test_assert(-1 == write(-1, &value, sizeof(value)));
18
19
atomic_puts("EXIT-SUCCESS");
20
return 0;
0 commit comments