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;
};