Sign in
gnu
/
gcc
/
ab810952eb7c061e37054ddd1dfe0aa033365131
/
.
/
gcc
/
testsuite
/
g++.dg
/
template
/
conv9.C
blob: 269e338a36cca11411e6e25427eaed29f09ba82d [
file
] [
log
] [
blame
]
// PR c++/28557
struct
A
{
template
<
typename
T
>
operator
T
()
{
return
T
();
}
};
template
<int>
void
foo
()
{
A
().
operator
int
();
}
void
bar
()
{
foo
<
0
>();
}