summaryrefslogtreecommitdiff
path: root/gcc/testsuite/g++.old-deja/g++.pt/instantiate10.C
blob: 7d922a87a1b7d13d3ed555419e5e5bc7eb0904cd (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
// { 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>&);