☰
Debian Codegraph
@
15:15.3.rel1-2
15:15.3.rel1-1
/
/
gcc
/
testsuite
/
g++.dg
/
cpp0x
/
constexpr-ptrmem2.C
☽
☼
gcc/testsuite/g++.dg/cpp0x/constexpr-ptrmem2.C
code
plain
raw
1
// PR c++/61661
2
// { dg-do compile { target c++11 } }
3
4
struct Outer {
5
6
void Bar();
7
8
struct Foo {
9
void (Outer::*ptr)() ;
10
};
11
12
static constexpr Foo foo = { &Outer::Bar };
13
};