1 // Contribued by Gabriel Dos Reis <gdr@codesourcery.com>
2 // Origin: iskey@i100.ryd.student.liu.se
7 template <class T> struct s;
10 ostream& operator<<(ostream &o, const typename s<T>::t &x)
20 operator<<<T>(ostream&, const typename s<T>::t &);
28 cout << y; // { dg-error "" }