OSDN Git Service

2009-02-17 Richard Guenther <rguenther@suse.de>
[pf3gnuchains/gcc-fork.git] / gcc / testsuite / gcc.c-torture / compile / 20071214-1.c
1 typedef __builtin_va_list va_list;
2 void gftp_config_parse_args (int numargs, char **first, ...)
3 {
4   char **dest = first;
5   va_list argp;
6   __builtin_va_start (argp, first);
7   while (numargs-- > 0)
8     {
9       *dest = __builtin_malloc (1);
10       dest = __builtin_va_arg(argp, char **);
11       *dest = ((void *)0);
12     }
13   __builtin_va_end(argp);
14 }
15