summaryrefslogtreecommitdiff
path: root/gcc/cp/pt.c
diff options
context:
space:
mode:
authormmitchel <mmitchel@138bc75d-0d04-0410-961f-82ee72b054a4>2007-03-23 04:37:40 +0000
committermmitchel <mmitchel@138bc75d-0d04-0410-961f-82ee72b054a4>2007-03-23 04:37:40 +0000
commit7525f7696fb07ad6486625b0bca9497b65f00cd4 (patch)
tree9723544456dacd2f3c339caf6c315be105a9a932 /gcc/cp/pt.c
parentdacbeac0ec7e3b131c607c2cc0367a2d5b15cbfe (diff)
downloadgcc-7525f7696fb07ad6486625b0bca9497b65f00cd4.tar.gz
PR c++/30863
* parser.c (cp_parser_parse_and_diagnose_invalid_type_name): Do not consume tokens when failing. PR c++/30863 * g++.dg/template/error24.C: New test. * g++.dg/parse/tmpl-outside1.C: Tweak error markers. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@123152 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/cp/pt.c')
0 files changed, 0 insertions, 0 deletions