re PR c++/82468 (ICE with deduction guide template)
authorPaolo Carlini <paolo.carlini@oracle.com>
Fri, 16 Feb 2018 15:34:58 +0000 (15:34 +0000)
committerPaolo Carlini <paolo@gcc.gnu.org>
Fri, 16 Feb 2018 15:34:58 +0000 (15:34 +0000)
commitd65da12f2b93cea64a7122022208439cd282dfc2
treee8e84e278d7ce7be5673f97431a7ede4a79807db
parentb1a7e33d67c9a3d4e7d390d28ae2f178861421cc
re PR c++/82468 (ICE with deduction guide template)

/cp
2018-02-16  Paolo Carlini  <paolo.carlini@oracle.com>

PR c++/82468
* decl.c (check_special_function_return_type): Reject template
template parameter in deduction guide.

/testsuite
2018-02-16  Paolo Carlini  <paolo.carlini@oracle.com>

PR c++/82468
* g++.dg/cpp1z/class-deduction48.C: New.

From-SVN: r257740
gcc/cp/ChangeLog
gcc/cp/decl.c
gcc/testsuite/ChangeLog
gcc/testsuite/g++.dg/cpp1z/class-deduction48.C [new file with mode: 0644]