PR c++/79556 - C++17 ICE with non-type auto
commit5928444edc6e7aa8d23a608b60553e50a5e33027
authorjason <jason@138bc75d-0d04-0410-961f-82ee72b054a4>
Fri, 17 Feb 2017 18:42:37 +0000 (17 18:42 +0000)
committerjason <jason@138bc75d-0d04-0410-961f-82ee72b054a4>
Fri, 17 Feb 2017 18:42:37 +0000 (17 18:42 +0000)
treefe0de2891ca4a29bec118a4e28289b6e6f356bc5
parent3ac1f210315c91a7797bd1f9819f85ee78acb428
PR c++/79556 - C++17 ICE with non-type auto

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

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@245543 138bc75d-0d04-0410-961f-82ee72b054a4
gcc/cp/ChangeLog
gcc/cp/pt.c
gcc/testsuite/g++.dg/cpp1z/nontype-auto9.C [new file with mode: 0644]