2014-08-29 Andrew Sutton <andrew.n.sutton@gmail.com>
commit40494ab62997d1f926409fe4a70b2183dce2109c
authorasutton <asutton@138bc75d-0d04-0410-961f-82ee72b054a4>
Fri, 29 Aug 2014 12:22:41 +0000 (29 12:22 +0000)
committerasutton <asutton@138bc75d-0d04-0410-961f-82ee72b054a4>
Fri, 29 Aug 2014 12:22:41 +0000 (29 12:22 +0000)
tree3ae9473609607685c26f64298917cec9721ae5fe
parentb63a9b733b492e4442e517bd49cce2d42db6476d
2014-08-29  Andrew Sutton  <andrew.n.sutton@gmail.com>

Fixing partial-template-id bug.
* gcc/cp/parser.c (cp_parser_type_name): If the returned type-decl
is actually a shorthand declaration, don't simulate an error.
* gcc/testsuite/g++.dg/concepts/template-parm10.C: New.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/c++-concepts@214723 138bc75d-0d04-0410-961f-82ee72b054a4
ChangeLog.concepts
gcc/cp/parser.c
gcc/testsuite/g++.dg/concepts/template-parm10.C [new file with mode: 0644]