Commit 2c49cd9e by Kriang Lerdsuwanakij Committed by Kriang Lerdsuwanakij

* g++.dg/rtti/typeid3.C: Correct expected error message.

From-SVN: r71606
parent 4047b164
2003-09-20 Kriang Lerdsuwanakij <lerdsuwa@users.sourceforge.net> 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 PR c++/157
* g++.dg/parse/crash12.C: New test. * g++.dg/parse/crash12.C: New test.
......
...@@ -2,10 +2,10 @@ ...@@ -2,10 +2,10 @@
template <template <class> class T> struct A { template <template <class> class T> struct A {
void error() { void error() {
typeid(T).name(); // { dg-error "" } typeid(T).name(); // { dg-error "missing" }
} }
}; };
template <class T> struct B {}; template <class T> struct B {};
template void A<B>::error(); // { dg-error "instantiated" } template void A<B>::error();
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment