Sign in
chromium
/
chromiumos
/
third_party
/
gcc
/
refs/heads/factory-ryu-6486.B
/
.
/
gcc
/
testsuite
/
g++.dg
/
cpp0x
/
constexpr-static8.C
blob: 34aa5afc001206504983eea887bf87331f06afe5 [
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 "constexpr" }
};
const
double
Foo
::
d
;
// { dg-warning "constexpr" }