PR tree-optimization/84740
[official-gcc.git] / gcc / testsuite / gcc.dg / asan / pr83185.c
blob175d2ce15ffe1a4f748c6142993f8a213c2b04a8
1 /* PR middle-end/83185 */
2 /* { dg-do compile } */
4 #include <stdarg.h>
6 int bar (void);
8 void
9 foo (int i, ...)
11 va_list aps[bar()];
12 va_start (aps[4], i);
13 va_end (aps[4]);