2 // spurious 'const' in error.
3 // For egcs-2.91.34, the warning message refers to
4 // class ostream & operator <<(class ostream &, const class Vector<T> &)
5 // Also, the template instantiation does not provide the missing
6 // friend function, the non-template function does
17 friend ostream& operator<< (ostream& out, const Vector<T> & vec); // { dg-warning "" }
21 ostream& operator<< (ostream& out, const Vector<T> & vec)
23 abort(); // this should not be called
26 template class Vector<char>;
27 template ostream& operator<< (ostream& out, const Vector<char> &);
29 ostream& operator<< (ostream& out, const Vector<char>&)