typeck2.c (store_init_value): Diagnose a non-constant initializer for in-class static.
authorJason Merrill <jason@redhat.com>
Thu, 27 Jun 2013 02:35:46 +0000 (22:35 -0400)
committerJason Merrill <jason@gcc.gnu.org>
Thu, 27 Jun 2013 02:35:46 +0000 (22:35 -0400)
commit46812ec24c9d4daabe6f2a5f77973cc21cef1426
treecde2acd08fb5a853014aca34e776bdf9be527196
parent447cf5546fce5161b9dd532c2b27b3086b43a198
typeck2.c (store_init_value): Diagnose a non-constant initializer for in-class static.

* typeck2.c (store_init_value): Diagnose a non-constant
initializer for in-class static.

From-SVN: r200450
gcc/cp/ChangeLog
gcc/cp/decl.c
gcc/cp/typeck2.c
gcc/testsuite/g++.dg/cpp0x/overflow1.C [new file with mode: 0644]
libstdc++-v3/testsuite/20_util/ratio/operations/ops_overflow_neg.cc