re PR c++/84980 ([concepts] ICE with missing typename in concept)
authorPaolo Carlini <paolo.carlini@oracle.com>
Mon, 3 Sep 2018 07:57:33 +0000 (07:57 +0000)
committerPaolo Carlini <paolo@gcc.gnu.org>
Mon, 3 Sep 2018 07:57:33 +0000 (07:57 +0000)
commitd1dfeff07917739fd5ae157be0825a757c576bef
tree32dabcfe0e5c435de8f06bf79f04fe59af02de97
parentadd4cbca8cf60d1108959de10a6c4b66d90464dc
re PR c++/84980 ([concepts] ICE with missing typename in concept)

/cp
2018-09-03  Paolo Carlini  <paolo.carlini@oracle.com>

PR c++/84980
* constraint.cc (finish_shorthand_constraint): Early return if the
constraint is erroneous.

/testsuite
2018-09-03  Paolo Carlini  <paolo.carlini@oracle.com>

PR c++/84980
* g++.dg/concepts/pr84980.C: New.

From-SVN: r264051
gcc/cp/ChangeLog
gcc/cp/constraint.cc
gcc/testsuite/ChangeLog
gcc/testsuite/g++.dg/concepts/pr84980.C [new file with mode: 0644]