PR c++/78489 - wrong SFINAE behavior.
authorJason Merrill <jason@redhat.com>
Fri, 23 Mar 2018 22:03:51 +0000 (18:03 -0400)
committerJason Merrill <jason@gcc.gnu.org>
Fri, 23 Mar 2018 22:03:51 +0000 (18:03 -0400)
commit86771dcbc33d34860313f5a123ecec172e59453d
tree4120c8efa3ca8166e60808383eab03b86f9ac498
parent532c7a45847f3401e26fa2f07e52613891c80718
PR c++/78489 - wrong SFINAE behavior.

PR c++/84489
* pt.c (type_unification_real): Don't defer substitution failure.

From-SVN: r258824
gcc/cp/ChangeLog
gcc/cp/pt.c
gcc/testsuite/g++.dg/cpp0x/fntmpdefarg4a.C [new file with mode: 0644]
gcc/testsuite/g++.dg/cpp0x/sfinae60.C [new file with mode: 0644]
gcc/testsuite/g++.dg/cpp0x/sfinae61.C [new file with mode: 0644]