re PR c++/50298 ([C++0x][constexpr] References cannot be bound to static constexpr...
authorJason Merrill <jason@redhat.com>
Wed, 7 Sep 2011 17:11:49 +0000 (13:11 -0400)
committerJason Merrill <jason@gcc.gnu.org>
Wed, 7 Sep 2011 17:11:49 +0000 (13:11 -0400)
commite39438c55d8d22f9ede589d3fc19bacd639be58b
tree0ca043664c1eece6adcfe41dd1397340888cb18d
parent30288f9aa21c6ef870bdf792a1eee4f90fd2c468
re PR c++/50298 ([C++0x][constexpr] References cannot be bound to static constexpr reference members)

PR c++/50298
* parser.c (cp_parser_member_declaration): Don't require a constant
rvalue here in C++0x.

From-SVN: r178652
gcc/cp/ChangeLog
gcc/cp/parser.c
gcc/testsuite/ChangeLog
gcc/testsuite/g++.dg/cpp0x/constexpr-ref3.C [new file with mode: 0644]