Commit d5ecb9cb by Gabriel Dos Reis Committed by Gabriel Dos Reis

template-as-base.C: Expect error.

        * g++.dg/inherit/template-as-base.C: Expect error.
        * g++.dg/inherit/namespace-as-base.C: Likewise.

From-SVN: r51687
parent 99b629fa
2002-04-01 Gabriel Dos Reis <gdr@merlin.codesourcery.com>
* g++.dg/inherit/template-as-base.C: Expect error.
* g++.dg/inherit/namespace-as-base.C: Likewise.
2002-03-31 Hans-Peter Nilsson <hp@bitrange.com>
* g++.dg/ext/instantiate1.C, g++.dg/ext/instantiate2.C,
......
......@@ -5,5 +5,5 @@ namespace Out {
}
}
class Class : public Out::In { // { dg-error ".*" "" { xfail *-*-* } }
class Class : public Out::In { // { dg-error ".*" "" }
};
......@@ -6,4 +6,4 @@ namespace N
template<typename> struct X { };
}
struct A : N::X { };
struct A : N::X { }; // { dg-error "invalid base-class" "" }
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