Remove old autovect-branch by moving to "dead" directory.
[official-gcc.git] / old-autovect-branch / gcc / testsuite / g++.dg / other / stdarg2.C
blob99e904013f15725cdd4c12c4a87f767281949e53
1 // PR c++/11929
2 // Bug: We were complaining about the call to va_start because o is of
3 // non-POD type.
5 struct s {
6   s(int);
7 };
9 void test(s o, ...) {
10   __builtin_va_list varg;
11   __builtin_va_start(varg, o);