diff options
Diffstat (limited to 'gcc/testsuite/g++.old-deja/g++.pt/vaarg3.C')
-rw-r--r-- | gcc/testsuite/g++.old-deja/g++.pt/vaarg3.C | 2 |
1 files changed, 1 insertions, 1 deletions
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); |