7c84cf8b07bbc5bb3408e3a8bce1a463fc2f8b26
[gcc.git] / gcc / testsuite / g++.dg / cpp0x / constexpr-static8.C
1 // PR c++/50258
2 // { dg-options "-std=c++0x -fpermissive" }
3
4 struct Foo {
5 static const double d = 3.14; // { dg-warning "constexpr" }
6 };
7 const double Foo::d; // { dg-warning "constexpr" }