Debian Codegraph @

gcc/testsuite/g++.dg/cpp0x/constexpr-60199.C

raw
1 // PR c++/60199
2 // { dg-do compile { target c++11 } }
3
4 void f() {}
5
6 static constexpr void (*g1)() = &f;
7 static constexpr void (*g2)() = f;
8 struct S {
9 static constexpr void (*g3)() = &f;
10 static constexpr void (*g4)() = f;
11 };