* g++.old-deja/g++.pt/vaarg3.C: Don't expect an error for passing
authorgeoffk <geoffk@138bc75d-0d04-0410-961f-82ee72b054a4>
Mon, 15 Dec 2003 20:53:56 +0000 (20:53 +0000)
committergeoffk <geoffk@138bc75d-0d04-0410-961f-82ee72b054a4>
Mon, 15 Dec 2003 20:53:56 +0000 (20:53 +0000)
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

gcc/testsuite/ChangeLog
gcc/testsuite/g++.old-deja/g++.pt/vaarg3.C

index dd5e215..679637a 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 f76def0..b812554 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);