PR c++/80356 - ICE with reference to function template argument.
authorJason Merrill <jason@redhat.com>
Sun, 9 Apr 2017 05:38:40 +0000 (01:38 -0400)
committerJason Merrill <jason@gcc.gnu.org>
Sun, 9 Apr 2017 05:38:40 +0000 (01:38 -0400)
commit3f4334cb95f22e23bb2759c6c24da407f661b7b1
tree813b13549d2353376fed45ec52e100c249068ba8
parentc60faeee9ecff24636380d2d58b7712cdfb2531f
PR c++/80356 - ICE with reference to function template argument.

PR c++/79294
* pt.c (convert_nontype_argument_function): Adjust type even with a
value-dependent argument.

From-SVN: r246794
gcc/cp/ChangeLog
gcc/cp/pt.c
gcc/testsuite/g++.dg/template/fn-ref1.C [new file with mode: 0644]