Sign in
gnu
/
gcc
/
4aef14b09557ce072f1269bd8a05fa2b1df0eda2
/
.
/
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
];
}