Sign in
gnu
/
gcc
/
cd2fd5facb5e1882d3f338ed456ae9536f7c0593
/
.
/
gcc
/
testsuite
/
g++.dg
/
cpp0x
/
constexpr-60199.C
blob: 20dd946c4c7739d14d219698e93267166dc980b2 [
file
] [
log
] [
blame
]
// PR c++/60199
// { dg-do compile { target c++11 } }
void
f
()
{}
static
constexpr
void
(*
g1
)()
=
&
f
;
static
constexpr
void
(*
g2
)()
=
f
;
struct
S
{
static
constexpr
void
(*
g3
)()
=
&
f
;
static
constexpr
void
(*
g4
)()
=
f
;
};