diff options
Diffstat (limited to 'gcc/testsuite/g++.old-deja/g++.other/dtor4.C')
-rw-r--r-- | gcc/testsuite/g++.old-deja/g++.other/dtor4.C | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/gcc/testsuite/g++.old-deja/g++.other/dtor4.C b/gcc/testsuite/g++.old-deja/g++.other/dtor4.C index be04965dbe1..a4db38ba707 100644 --- a/gcc/testsuite/g++.old-deja/g++.other/dtor4.C +++ b/gcc/testsuite/g++.old-deja/g++.other/dtor4.C @@ -4,8 +4,8 @@ struct S1 { ~S1(); // { dg-error "" } candidate }; -S1::~S1() const -{ // { dg-error "" } prototype does not match +S1::~S1() const // { dg-error "" } prototype does not match +{ } @@ -20,8 +20,8 @@ struct S3 { }; template <class T> -S3<T>::~S3() volatile -{ // { dg-error "" } prototype does not match +S3<T>::~S3() volatile // { dg-error "" } prototype does not match +{ } |