Sign in
gnu
/
gcc
/
ab810952eb7c061e37054ddd1dfe0aa033365131
/
.
/
gcc
/
testsuite
/
g++.dg
/
cpp0x
/
constexpr-ptrmem2.C
blob: 86859aa12bcd0950a1e5a98c86893539aff693b9 [
file
] [
log
] [
blame
]
// PR c++/61661
// { dg-do compile { target c++11 } }
struct
Outer
{
void
Bar
();
struct
Foo
{
void
(
Outer
::*
ptr
)()
;
};
static
constexpr
Foo
foo
=
{
&
Outer
::
Bar
};
};