Sign in
gnu
/
gcc
/
ab810952eb7c061e37054ddd1dfe0aa033365131
/
.
/
gcc
/
testsuite
/
g++.dg
/
cpp0x
/
conv-tmpl1.C
blob: eb40dd66a5c5a59e2bfaad01d8cceeb32bd65f95 [
file
] [
log
] [
blame
]
// Test for Core 2189.
// { dg-do compile { target c++11 } }
template
<
class
T
>
using
Fn
=
void
(*)(
T
);
struct
A
{
template
<
class
T
>
operator
Fn
<
T
>();
};
int
main
()
{
A
()(
42
);
}