FSF GCC merge 02/23/03
[official-gcc.git] / gcc / testsuite / g++.old-deja / g++.pt / friend37.C
blobc3ee4c7aaefc9336ce7167bcd667f1098e938cbf
1 // Build don't link:
2 // Simplified from report by Volker Dobler <volker@hugo.physik.uni-konstanz.de>
4 template <class T> class A {
5   friend int ice<>( int k=0 ); // ERROR - default argument
6   friend inline int f<>(double); // ERROR - inline
7 };