From 86d75cddd286af23fb680b5d12a7a3749a71d0d5 Mon Sep 17 00:00:00 2001 From: Geoffrey Keating Date: Mon, 15 Dec 2003 20:53:56 +0000 Subject: vaarg3.C: Don't expect an error for passing a non-POD type as the last named parameter of... * 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. From-SVN: r74647 --- gcc/testsuite/ChangeLog | 5 +++++ gcc/testsuite/g++.old-deja/g++.pt/vaarg3.C | 2 +- 2 files changed, 6 insertions(+), 1 deletion(-) 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 + + * 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 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 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); -- cgit v1.1