diff options
author | Kriang Lerdsuwanakij <lerdsuwa@users.sourceforge.net> | 2003-09-20 16:32:18 +0000 |
---|---|---|
committer | Kriang Lerdsuwanakij <lerdsuwa@gcc.gnu.org> | 2003-09-20 16:32:18 +0000 |
commit | 2c49cd9e103a84f31109f12f4b787d65cbed6c33 (patch) | |
tree | 420ef298c757e97805eab03b19145aa3d74f1045 /gcc | |
parent | 4047b1642c8a8d6b9b918ac78e08bbb09856033d (diff) | |
download | gcc-2c49cd9e103a84f31109f12f4b787d65cbed6c33.zip gcc-2c49cd9e103a84f31109f12f4b787d65cbed6c33.tar.gz gcc-2c49cd9e103a84f31109f12f4b787d65cbed6c33.tar.bz2 |
* g++.dg/rtti/typeid3.C: Correct expected error message.
From-SVN: r71606
Diffstat (limited to 'gcc')
-rw-r--r-- | gcc/testsuite/ChangeLog | 4 | ||||
-rw-r--r-- | gcc/testsuite/g++.dg/rtti/typeid3.C | 4 |
2 files changed, 6 insertions, 2 deletions
diff --git a/gcc/testsuite/ChangeLog b/gcc/testsuite/ChangeLog index 9e37289..2cfb257 100644 --- a/gcc/testsuite/ChangeLog +++ b/gcc/testsuite/ChangeLog @@ -1,5 +1,9 @@ 2003-09-20 Kriang Lerdsuwanakij <lerdsuwa@users.sourceforge.net> + * g++.dg/rtti/typeid3.C: Correct expected error message. + +2003-09-20 Kriang Lerdsuwanakij <lerdsuwa@users.sourceforge.net> + PR c++/157 * g++.dg/parse/crash12.C: New test. diff --git a/gcc/testsuite/g++.dg/rtti/typeid3.C b/gcc/testsuite/g++.dg/rtti/typeid3.C index b36563a..a07b399 100644 --- a/gcc/testsuite/g++.dg/rtti/typeid3.C +++ b/gcc/testsuite/g++.dg/rtti/typeid3.C @@ -2,10 +2,10 @@ template <template <class> class T> struct A { void error() { - typeid(T).name(); // { dg-error "" } + typeid(T).name(); // { dg-error "missing" } } }; template <class T> struct B {}; -template void A<B>::error(); // { dg-error "instantiated" } +template void A<B>::error(); |