Sign in
gnu
/
gcc
/
ab810952eb7c061e37054ddd1dfe0aa033365131
/
.
/
gcc
/
testsuite
/
g++.dg
/
template
/
sfinae18.C
blob: bbc39cb3ac0f3c50dbcdbfd529383583226b233a [
file
] [
log
] [
blame
]
// PR c++/41468
typedef
int
Ft
(
int
);
struct
A
{
operator
Ft
*();
};
struct
B
{
operator
Ft
*();
};
struct
C
:
A
,
B
{
};
template
<
typename
C
>
void
f
(
int
(*
a
)[
sizeof
(
C
()(
0
))]);
template
<
typename
C
>
void
f
(...);
int
main
()
{
f
<
C
>(
0
);
}