a non-POD type as the last named parameter of a varargs function.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@74647
138bc75d-0d04-0410-961f-
82ee72b054a4
+2003-12-15 Geoffrey Keating <geoffk@apple.com>
+
+ * g++.old-deja/g++.pt/vaarg3.C: Don't expect an error for passing
+ a non-POD type as the last named parameter of a varargs function.
+
2003-12-15 Mark Mitchell <mark@codesourcery.com>
PR c++/13243
void PrintArgs (Type somearg, ...)
{
va_list argp;
-va_start (argp, somearg); // { dg-error "" } cannot pass non-POD
+va_start (argp, somearg);
Type value;
value = va_arg (argp, Type); // { dg-error "" } cannot pass non-POD
va_end (argp);