Mercurial > hg > CbC > CbC_gcc
view gcc/testsuite/g++.dg/parse/angle-bracket2.C @ 144:8f4e72ab4e11
fix segmentation fault caused by nothing next cur_op to end
author | Takahiro SHIMIZU <anatofuz@cr.ie.u-ryukyu.ac.jp> |
---|---|
date | Sun, 23 Dec 2018 21:23:56 +0900 |
parents | 04ced10e8804 |
children |
line wrap: on
line source
// { 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 "" }