2 // { dg-shouldfail "asan" }
6 __attribute__((always_inline
))
11 for (unsigned i
= 0; i
< 10; i
++)
18 main (int argc
, char **argv
)
25 // { dg-output "ERROR: AddressSanitizer: stack-use-after-scope on address.*(\n|\r\n|\r)" }
26 // { dg-output "READ of size 4 at.*" }
27 // { dg-output ".*'values' \\(line 10\\) <== Memory access at offset \[0-9\]* is inside this variable.*" }