2 { dg-options "-Wno-varargs" }
12 va_start (vp, a); // { dg-error "used in function with fixed args" }
16 foo0 (int a, int b, ...)
19 /* 'a' is not the last argument of the enclosing function, but
20 don't warn because we are ignoring -Wvarargs. */
26 foo1 (int a, register int b, ...)
29 /* 'b' is declared with register storage, but don't warn
30 because we are ignoring -Wvarargs. */