Sign in
gnu
/
gcc
/
ab810952eb7c061e37054ddd1dfe0aa033365131
/
.
/
gcc
/
testsuite
/
g++.dg
/
template
/
pr70610.C
blob: c7dde1c5cec266d6ca44283f8ac22217a8623613 [
file
] [
log
] [
blame
]
// PR c++/70610
// { dg-do link }
struct
A
{
};
void
operator
+
(
A
&);
void
operator
+
(
const
A
&)
{
}
template
<
typename
T
>
void
foo
()
{
+
A
();
}
int
main
()
{
foo
<int>
();
}