blob: 9facd0fe33d1be26883fe0e6634926d80dc0d8a9 [file] [log] [blame]
// PR c++/50258
// { dg-do compile { target c++11 } }
// { dg-options "-fpermissive" }
struct Foo {
static const double d = 3.14; // { dg-warning "23:'constexpr' needed" }
};
const double Foo::d;