Debian Codegraph @

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

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