re PR c++/14028 (Parser accepts invalid unbalanced triangular bracketing.)
PR c++/14028 * g++.dg/parse/angle-bracket2.C: New test. From-SVN: r77403
This commit is contained in:
parent
6c0cc713d2
commit
37bd808d63
@ -1,3 +1,8 @@
|
||||
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
|
||||
|
6
gcc/testsuite/g++.dg/parse/angle-bracket2.C
Normal file
6
gcc/testsuite/g++.dg/parse/angle-bracket2.C
Normal file
@ -0,0 +1,6 @@
|
||||
// { 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 "" }
|
Loading…
Reference in New Issue
Block a user