re PR c++/71128 ([concepts] ICE on ill-formed explicit instantiation of a function...
authorPaolo Carlini <paolo.carlini@oracle.com>
Mon, 8 Oct 2018 09:02:55 +0000 (09:02 +0000)
committerPaolo Carlini <paolo@gcc.gnu.org>
Mon, 8 Oct 2018 09:02:55 +0000 (09:02 +0000)
commita52cdecf114f4f1e5acbdeeb28b9381875a4b9a8
tree2d1e1335e6af3dee80183799a50299e9c986b4ea
parent8656dafa39de8e537940433220e8f5db3bf7a614
re PR c++/71128 ([concepts] ICE on ill-formed explicit instantiation of a function concept)

/cp
2018-10-08  Paolo Carlini  <paolo.carlini@oracle.com>

PR c++/71128
* pt.c (do_decl_instantiation): Per 12.6.8/5, a concept cannot be
explicitly instantiated.

/testsuite
2018-10-08  Paolo Carlini  <paolo.carlini@oracle.com>

PR c++/71128
* g++.dg/concepts/pr71128.C: New.

From-SVN: r264914
gcc/cp/ChangeLog
gcc/cp/pt.c
gcc/testsuite/ChangeLog
gcc/testsuite/g++.dg/concepts/pr71128.C [new file with mode: 0644]