aboutsummaryrefslogtreecommitdiff
path: root/gcc/testsuite/g++.dg/ext/va-arg1.C
blob: 5606128e5f777d715b61d719b0fac0d36773d25b (plain)
1
2
3
4
5
6
7
8
// PR c++/33462

struct A {};

void foo()
{
  ++__builtin_va_arg(0, A); // { dg-error "operand type is 'A'" }
}