modernc.org/ccgo/v3@v3.16.14/lib/testdata/gcc-9.1.0/gcc/testsuite/gcc.c-torture/compile/20071214-1.c (about)

     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