Sign in
gnu
/
gcc
/
cd2fd5facb5e1882d3f338ed456ae9536f7c0593
/
.
/
gcc
/
testsuite
/
g++.dg
/
cpp0x
/
auto53.C
blob: 68b408e99ebc0c689d46b4f9e2e9eea6b0aa9cf7 [
file
] [
log
] [
blame
]
// PR c++/63508
// { dg-do compile { target c++11 } }
template
<
typename
T
>
class
c
{
void
mf
()
{
}
using
m
=
void
(
c
::*)
();
public
:
c
()
{
auto
x
=
m
{&
c
::
mf
};
}
};
int
main
()
{
c
<int>
o
{};
}