SPARC: fix internal error with -mv8plus on 64-bit Linux
[official-gcc.git] / gcc / testsuite / g++.old-deja / g++.robertl / eb105.C
blob400b15b954a0b66b2a6141f8875e6e6adb5763ae
1 // { dg-do assemble  }
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         }