blob: 5606128e5f777d715b61d719b0fac0d36773d25b [file] [log] [blame]
// PR c++/33462
struct A {};
void foo()
{
++__builtin_va_arg(0, A); // { dg-error "operand type is 'A'" }
}