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