Sign in
gnu
/
gcc
/
1f16a020acbea0af26209478990b83b1a1ba3a2b
/
.
/
gcc
/
testsuite
/
g++.dg
/
ubsan
/
pr59331.C
blob: 1bb3666efbfd0d23d7ab08a7c962713df3a54cf3 [
file
] [
log
] [
blame
]
/* { dg-do compile } */
/* { dg-options "-fsanitize=vla-bound -Wall -Wno-unused-variable" } */
void
foo
(
int
i
)
{
/* Don't warn here with "value computed is not used". */
char
a
[
i
];
}