☰
Debian Codegraph
@
15:15.3.rel1-2
15:15.3.rel1-1
/
/
gcc
/
testsuite
/
g++.dg
/
ubsan
/
pr59331.C
☽
☼
gcc/testsuite/g++.dg/ubsan/pr59331.C
code
plain
raw
1
/* { dg-do compile } */
2
/* { dg-options "-fsanitize=vla-bound -Wall -Wno-unused-variable" } */
3
4
void foo(int i)
5
{
6
/* Don't warn here with "value computed is not used". */
7
char a[i];
8
}