OSDN Git Service

New tests from Klaus-Georg.
[pf3gnuchains/gcc-fork.git] / gcc / testsuite / g++.old-deja / g++.robertl / eb105.C
1 // Build don't link: 
2 template< class T >
3 void    sort( T* t, int n )
4         {
5             struct
6 /*line5*/   {
7                 int     operator()(T i, T j)
8                         {
9                             return (i < j) ? -1 : ((j < i) ? 1 : 0) ;
10                         }
11             } c ;
12             sort(t, n, c, 0) ;
13         }