2 // { dg-shouldfail "asan" }
4 #include "use-after-scope-types.h"
8 using Tests = void (*)();
15 // { dg-output "ERROR: AddressSanitizer: stack-use-after-scope on address.*(\n|\r\n|\r)" }
16 // { dg-output "WRITE of size " }
17 // { dg-output ".*'x' <== Memory access at offset \[0-9\]* is inside this variable.*" }