Sign in
gnu
/
gcc
/
ab810952eb7c061e37054ddd1dfe0aa033365131
/
.
/
gcc
/
testsuite
/
g++.dg
/
cpp0x
/
auto55.C
blob: 5bd32ac890db2dfab065f44766529818c8160bb8 [
file
] [
log
] [
blame
]
// PR c++/98441
// { dg-do compile { target c++11 } }
struct
a
{
int
&
mfn
();
};
void
fn
()
{
int
&
(
a
::*
myvar1
)(
void
)
=
&
a
::
mfn
;
auto
&
(
a
::*
myvar2
)(
void
)
=
&
a
::
mfn
;
auto
(
a
::*
myvar3
)(
void
)
=
&
a
::
mfn
;
}