OSDN Git Service

2001-02-26 Jeffrey Oldham <oldham@codesourcery.com>
[pf3gnuchains/gcc-fork.git] / gcc / testsuite / g++.old-deja / g++.pt / instantiate10.C
1 // Build don't link:
2 // Origin: Neil Booth, from bug report #44
3
4 #include <iterator>
5
6 template<class T>
7 struct X
8 {
9 };
10
11 template<class T>
12 X<T> operator+(const X<T>&, const X<T>&);
13
14 template<>
15 X<int> operator+<int>(const X<int>&, const X<int>&);