2 /* { dg-skip-if "" { *-*-* } { "*" } { "-O2" } } */
3 /* { dg-set-target-env-var ASAN_OPTIONS "strip_path_prefix='/'" } */
4 /* { dg-options "-fno-builtin-malloc -fno-builtin-free" } */
5 /* { dg-shouldfail "asan" } */
9 char *x
= (char*)malloc(10);
14 /* { dg-output "heap-use-after-free.*(\n|\r\n|\r)" } */
15 /* { dg-output " #0 0x\[0-9a-f\]+ \[(\]?\[^/\]\[^\n\r]*(\n|\r\n|\r)" } */