From: Geoffrey Keating Date: Mon, 15 Dec 2003 20:53:56 +0000 (+0000) Subject: vaarg3.C: Don't expect an error for passing a non-POD type as the last named paramete... X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=86d75cddd286af23fb680b5d12a7a3749a71d0d5;p=gcc.git 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 --- diff --git a/gcc/testsuite/ChangeLog b/gcc/testsuite/ChangeLog index dd5e215b192..679637a3c04 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 f76def0d229..b812554e38c 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);