PR c++/80840 - ICE with constexpr and reference
authorJason Merrill <jason@redhat.com>
Wed, 31 May 2017 17:11:17 +0000 (13:11 -0400)
committerJason Merrill <jason@gcc.gnu.org>
Wed, 31 May 2017 17:11:17 +0000 (13:11 -0400)
commit049a5d31b9fce6c40721e8c07573c34df9ed9eec
tree8f309764aa69498447ce8d6c5433923406581bac
parent91e920c9390f5293fdc84fbf9859dab53d7454b0
PR c++/80840 - ICE with constexpr and reference

* pt.c (convert_nontype_argument): Don't test whether a decl is
value-dependent when binding to a reference.

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