diff options
-rw-r--r-- | gcc/testsuite/ChangeLog | 5 | ||||
-rw-r--r-- | gcc/testsuite/g++.old-deja/g++.pt/vaarg3.C | 2 |
2 files changed, 6 insertions, 1 deletions
diff --git a/gcc/testsuite/ChangeLog b/gcc/testsuite/ChangeLog index dd5e215..679637a 100644 --- a/gcc/testsuite/ChangeLog +++ b/gcc/testsuite/ChangeLog @@ -1,3 +1,8 @@ +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 diff --git a/gcc/testsuite/g++.old-deja/g++.pt/vaarg3.C b/gcc/testsuite/g++.old-deja/g++.pt/vaarg3.C index f76def0..b812554 100644 --- a/gcc/testsuite/g++.old-deja/g++.pt/vaarg3.C +++ b/gcc/testsuite/g++.old-deja/g++.pt/vaarg3.C @@ -12,7 +12,7 @@ template <class Type> 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); |