PR c++/89966 - error with non-type auto tparm.
authorJason Merrill <jason@redhat.com>
Fri, 5 Apr 2019 02:50:52 +0000 (22:50 -0400)
committerJason Merrill <jason@gcc.gnu.org>
Fri, 5 Apr 2019 02:50:52 +0000 (22:50 -0400)
commit950b198d4a3225cbec2d3408b947bf48057c5762
tree9f97099ae79459fe66457bab2f4aadd9040939ae
parent17838af989014f5e90e3a7ab4e519d495c03e726
PR c++/89966 - error with non-type auto tparm.

My patch for PR 86932 broke this testcase by passing tf_partial to
coerce_template_template_parms, which prevented do_auto_deduction from
actually replacing the auto.

* pt.c (do_auto_deduction): Clear tf_partial.

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