Sign in
gnu
/
gcc
/
cd2fd5facb5e1882d3f338ed456ae9536f7c0593
/
.
/
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
};
};