Sign in
gnu
/
gcc
/
1f16a020acbea0af26209478990b83b1a1ba3a2b
/
.
/
gcc
/
testsuite
/
g++.old-deja
/
g++.pt
/
instantiate10.C
blob: 7d922a87a1b7d13d3ed555419e5e5bc7eb0904cd [
file
] [
log
] [
blame
]
// { dg-do assemble }
// Origin: Neil Booth, from bug report #44
#include
<iterator>
template
<
class
T
>
struct
X
{
};
template
<
class
T
>
X
<
T
>
operator
+(
const
X
<
T
>&,
const
X
<
T
>&);
template
<>
X
<int>
operator
+<
int
>(
const
X
<int>
&,
const
X
<int>
&);