blob: c0477adcb76a4f76e808b80cb13a6071d1d1b977 (
plain)
1
2
3
4
5
6
7
8
9
10
|
// PR c++/33462
struct A {};
void foo()
{
++__builtin_va_arg (0, A);
// { dg-error "operand type is 'A'" "" {target *-*-*} "7" }
// { dg-error "first argument to 'va_arg' not of type 'va_list'" "" {target *-*-*} "7" }
}
|