vaarg3.C: Don't expect an error for passing a non-POD type as the last named paramete...
authorGeoffrey Keating <geoffk@apple.com>
Mon, 15 Dec 2003 20:53:56 +0000 (20:53 +0000)
committerGeoffrey Keating <geoffk@gcc.gnu.org>
Mon, 15 Dec 2003 20:53:56 +0000 (20:53 +0000)
* 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
gcc/testsuite/g++.old-deja/g++.pt/vaarg3.C

index dd5e215b1926b5b085d38dbbb94dcb29f492d369..679637a3c04c79d9f2d838dada06fd0fa43737ac 100644 (file)
@@ -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
index f76def0d229877b1a95c4b7137ca756c35557824..b812554e38cf90d0656396154a77b2bf3f6d90b9 100644 (file)
@@ -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);