1 /* Test that VLA types do not crash with -Walloc-size
3 { dg-options "-Walloc-size" }
6 struct foo
{ int x
[10]; };
10 struct foo (*p
)[n
] = __builtin_malloc(sizeof *p
);
15 struct bar
{ int x
[n
]; };
16 struct bar
*p
= __builtin_malloc(sizeof *p
);