blob: 2749671fb324d0a05c22cbe7cf6e0a05e3394107 [file] [log] [blame]
// PR c++/40138
// { dg-options "-Wall" }
void foo(int i, ...)
{
V v; // { dg-error "not declared|expected" }
__builtin_va_start(v, i); // { dg-error "not declared" }
i = __builtin_va_arg(v, int);
}