PR c++/79556 - C++17 ICE with non-type auto
authorJason Merrill <jason@redhat.com>
Fri, 17 Feb 2017 18:42:37 +0000 (13:42 -0500)
committerJason Merrill <jason@gcc.gnu.org>
Fri, 17 Feb 2017 18:42:37 +0000 (13:42 -0500)
commitb10c7cd74ac9c17f0aa1cb5dbdb0e1227b421a90
treefe0de2891ca4a29bec118a4e28289b6e6f356bc5
parent34a64e47cdb877bbc749575578fa86e2ae0bc1c9
PR c++/79556 - C++17 ICE with non-type auto

* pt.c (do_auto_deduction): Don't try to deduce from null type.

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