comparison gcc/testsuite/gcc.dg/asan/pr83185.c @ 131:84e7813d76e9

gcc-8.2
author mir3636
date Thu, 25 Oct 2018 07:37:49 +0900
parents
children
comparison
equal deleted inserted replaced
111:04ced10e8804 131:84e7813d76e9
1 /* PR middle-end/83185 */
2 /* { dg-do compile } */
3
4 #include <stdarg.h>
5
6 int bar (void);
7
8 void
9 foo (int i, ...)
10 {
11 va_list aps[bar()];
12 va_start (aps[4], i);
13 va_end (aps[4]);
14 }