Commit 37bd808d by Giovanni Bajo

re PR c++/14028 (Parser accepts invalid unbalanced triangular bracketing.)

	PR c++/14028
	* g++.dg/parse/angle-bracket2.C: New test.

From-SVN: r77403
parent 6c0cc713
2003-02-06 Giovanni Bajo <giovannibajo@gcc.gnu.org>
PR c++/14028
* g++.dg/parse/angle-bracket2.C: New test.
2004-02-05 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
PR middle-end/13750
......
// { dg-do compile }
// Contributed by MattyT <mattyt-bugzilla at tpg dot com dot au>
// PR c++/14028: Parser accepts invalid unbalanced bracket.
template <int> struct A {};
template <typename TP> class B : public A<4 {}; // { dg-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