Sign in
gnu
/
gcc
/
b1143e51359be3b1151d892970f43ae67dee64d2
/
.
/
gcc
/
testsuite
/
g++.old-deja
/
g++.jason
/
template38.C
blob: 3870cbc5c140728e16c54fb51e58a472e824b54c [
file
] [
log
] [
blame
]
// Special g++ Options: -fguiding-decls
struct
A
{
friend
int
operator
==
(
const
A
&,
const
A
&);
A
(
int
)
{
}
};
template
<
class
T
>
int
operator
==
(
const
T
&,
const
T
&)
{
return
0
;
}
main
()
{
A a
(
1
);
return
a
==
1
;
}