2 // { dg-shouldfail "asan" }
3 // { dg-skip-if "" { *-*-* } { "*" } { "-O0" } }
13 __builtin_memcpy (&ptr2
, &ptr
, sizeof (ptr2
));
19 // { dg-output "ERROR: AddressSanitizer: stack-use-after-scope on address.*(\n|\r\n|\r)" }
20 // { dg-output "WRITE of size 1 at.*" }
21 // { dg-output ".*'my_char' <== Memory access at offset \[0-9\]* overflows this variable.*" }