re PR c++/46930 ([C++0x] ICE with static constexpr data member)
authorJason Merrill <jason@redhat.com>
Wed, 15 Dec 2010 00:35:17 +0000 (19:35 -0500)
committerJason Merrill <jason@gcc.gnu.org>
Wed, 15 Dec 2010 00:35:17 +0000 (19:35 -0500)
commit6da9537811bd00e8f3c4bb2d4ea96232f771f73b
treec7b616b8619dbd2d29d3dcbbea448a2d19cb7b19
parentece17375aa807e5d77244c1584c8447af9e9afae
re PR c++/46930 ([C++0x] ICE with static constexpr data member)

PR c++/46930
* decl.c (grokdeclarator): Reject uninitialized constexpr
static data member.

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