blob: e7aff5243e601ddbc3e1cbb68074ef4edddfcaf0 [file] [log] [blame]
/* PR sanitizer/81223 */
/* { dg-do compile } */
/* { dg-options "-fsanitize=undefined" } */
void bar ();
void
foo (int x)
{
struct S { char a[x]; } v;
bar (v);
}