2 // { dg-shouldfail "asan" }
3 // { dg-skip-if "" { *-*-* } { "*" } { "-O2" } }
4 // { dg-additional-options "-fdump-tree-asan1" }
7 main (int argc
, char **argv
)
21 // { dg-output "ERROR: AddressSanitizer: stack-use-after-scope on address.*(\n|\r\n|\r)" }
22 // { dg-output "WRITE of size .*" }
23 // { dg-output ".*'a' <== Memory access at offset \[0-9\]* is inside this variable.*" }