☰
Debian Codegraph
@
15:15.3.rel1-2
15:15.3.rel1-1
/
/
gcc
/
testsuite
/
g++.dg
/
cpp0x
/
constexpr-static8.C
☽
☼
gcc/testsuite/g++.dg/cpp0x/constexpr-static8.C
code
plain
raw
1
// PR c++/50258
2
// { dg-do compile { target c++11 } }
3
// { dg-options "-fpermissive" }
4
5
struct Foo {
6
static const double d = 3.14; // { dg-warning "23:'constexpr' needed" }
7
};
8
const double Foo::d;