Sign in
gnu
/
gcc
/
cd2fd5facb5e1882d3f338ed456ae9536f7c0593
/
.
/
gcc
/
testsuite
/
g++.dg
/
cpp0x
/
constexpr-static8.C
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
;