Add missing zstd.h to coregrind Makefile.am noinst_HEADERS
[valgrind.git] / memcheck / tests / x86-linux / scalar_openat2.c
blob1e508e1618d9a2ce3ab7663ec91ca24358c1c76b
1 #define _GNU_SOURCE
3 #include "../../memcheck.h"
4 #include "scalar.h"
6 int main(void)
8 // uninitialised, but we know px[0] is 0x0
9 long* px = malloc(sizeof(long));
10 long x0 = px[0];
11 long res;
13 // __NR_openat2 337
14 GO(__NR_openat2, "4s 2m");
15 SY(__NR_openat2, x0, x0+1, x0+1, x0); FAIL;