PR c++/80990 use cv-qualifiers in class template argument deduction
authorJonathan Wakely <jwakely@redhat.com>
Wed, 7 Jun 2017 11:34:36 +0000 (12:34 +0100)
committerJonathan Wakely <redi@gcc.gnu.org>
Wed, 7 Jun 2017 11:34:36 +0000 (12:34 +0100)
commit83059741a0a58b6cccb105522bf7f07813a55c23
treebeb693a70da20c26df8031058c455c7027780241
parent09a939a0d5c407e94b03421b87450af8fecdfe52
PR c++/80990 use cv-qualifiers in class template argument deduction

gcc/cp:

PR c++/80990
* pt.c (do_class_deduction): Build qualified type.

gcc/testsuite:

PR c++/80990
* g++.dg/cpp1z/class-deduction39.C: New.

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