re PR c++/48945 ([C++0x] static constexpr member function cannot be defined out-of...
authorJason Merrill <jason@redhat.com>
Sat, 21 May 2011 22:01:38 +0000 (18:01 -0400)
committerJason Merrill <jason@gcc.gnu.org>
Sat, 21 May 2011 22:01:38 +0000 (18:01 -0400)
commitb6413764c0dd056f000c6541913e95af9bddbb3e
tree74f7a8762726bed8979bd2f80aee9f9a86f91c71
parent967444bbf8f78f46dd5df5c924a7650e4ad323ac
re PR c++/48945 ([C++0x] static constexpr member function cannot be defined out-of class)

PR c++/48945
* decl.c (revert_static_member_fn): Ignore const on constexpr fn.

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