Debian Codegraph @

gcc/testsuite/g++.old-deja/g++.pt/instantiate10.C

raw
1 // { dg-do assemble }
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>&);