Sign in
gnu
/
gcc
/
ab810952eb7c061e37054ddd1dfe0aa033365131
/
.
/
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
;
};