2 // { dg-shouldfail "asan" }
4 static __attribute__ ((noinline)) int
7 return *(volatile int *)a;
10 __attribute__ ((noinline)) int
13 return goo ((int *)&arg);
22 // { dg-output "ERROR: AddressSanitizer: stack-buffer-overflow on address.*(\n|\r\n|\r)" }
23 // { dg-output "READ of size . at.*" }
24 // { dg-output ".*'arg' \\(line 11\\) <== Memory access at offset \[0-9\]* partially overflows this variable.*" }