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