PR c++/82664 - ICE with reference to function template parm.
authorJason Merrill <jason@redhat.com>
Fri, 16 Feb 2018 19:06:34 +0000 (14:06 -0500)
committerJason Merrill <jason@gcc.gnu.org>
Fri, 16 Feb 2018 19:06:34 +0000 (14:06 -0500)
commitaaec81f10fa314fabdd9d7b07d2837b192bbd47d
tree7785b237492c7ae0f49fd6a005a815047b2b3251
parentdec5af9f2bea2700ff8037c4f826b97d4d621041
PR c++/82664 - ICE with reference to function template parm.

* pt.c (convert_nontype_argument_function): Avoid obfuscationg
NOP_EXPRs.

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