blob: 1bb3666efbfd0d23d7ab08a7c962713df3a54cf3 (
plain)
1
2
3
4
5
6
7
8
|
/* { 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];
}
|