PR c++/78898 - ICE on constructor with TTP
commit9c6ba5bf60d35afce20f8bee7e2bb2ac2efe37a4
authorjason <jason@138bc75d-0d04-0410-961f-82ee72b054a4>
Thu, 22 Dec 2016 15:19:54 +0000 (22 15:19 +0000)
committerjason <jason@138bc75d-0d04-0410-961f-82ee72b054a4>
Thu, 22 Dec 2016 15:19:54 +0000 (22 15:19 +0000)
tree0853e281f9de0cc4c9ba0879a7213d45957f03c5
parent4e572b66e7bbd13cfab1605fcf950a644f27d82b
PR c++/78898 - ICE on constructor with TTP

PR c++/42329
* pt.c (unify): Don't look for a class template from a non-class.

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