Sign in
gnu
/
gcc
/
cd2fd5facb5e1882d3f338ed456ae9536f7c0593
/
.
/
gcc
/
testsuite
/
g++.dg
/
cpp0x
/
initlist-pmf1.C
blob: 3035fefbc5f797e053fbf621324cefd3afac01aa [
file
] [
log
] [
blame
]
// { dg-do compile { target c++11 } }
struct
A
{
void
f
();
};
using
ftype
=
decltype
(&
A
::
f
);
template
<
class
T
>
bool
f
()
{
ftype p
=
ftype
{};
return
p
;
}
int
main
()
{
f
<int>
();
}