1 /* PR debug/39412 */
2 /* { dg-do compile } */
3 
4 struct S { int i; };
5 
6 inline void
bar(const void * x,unsigned long y)7 bar (const void *x, unsigned long y)
8 {
9   const union { struct S a[y]; } *u = x;
10 }
11 
12 void
foo(const void * x,unsigned long y)13 foo (const void *x, unsigned long y)
14 {
15   bar (x, y);
16 }
17