☰
Debian Codegraph
@
15:15.3.rel1-2
15:15.3.rel1-1
/
/
gcc
/
testsuite
/
g++.dg
/
cpp0x
/
constexpr-60199.C
☽
☼
gcc/testsuite/g++.dg/cpp0x/constexpr-60199.C
code
plain
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
};