(root)/
gcc-13.2.0/
gcc/
testsuite/
g++.dg/
ubsan/
pr59331.C
/* { 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];
}