comparison gcc/testsuite/g++.dg/asan/function-argument-2.C @ 131:84e7813d76e9

gcc-8.2
author mir3636
date Thu, 25 Oct 2018 07:37:49 +0900
parents 04ced10e8804
children
comparison
equal deleted inserted replaced
111:04ced10e8804 131:84e7813d76e9
19 return foo (12); 19 return foo (12);
20 } 20 }
21 21
22 // { dg-output "ERROR: AddressSanitizer: stack-buffer-overflow on address.*(\n|\r\n|\r)" } 22 // { dg-output "ERROR: AddressSanitizer: stack-buffer-overflow on address.*(\n|\r\n|\r)" }
23 // { dg-output "READ of size . at.*" } 23 // { dg-output "READ of size . at.*" }
24 // { dg-output ".*'arg' <== Memory access at offset \[0-9\]* partially overflows this variable.*" } 24 // { dg-output ".*'arg' \\(line 11\\) <== Memory access at offset \[0-9\]* partially overflows this variable.*" }