repo.or.cz
/
official-gcc.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
FSF GCC merge 02/23/03
[official-gcc.git]
/
gcc
/
testsuite
/
g++.old-deja
/
g++.robertl
/
eb105.C
blob
f431fba88d8ad6943e434fe50a10bbc8933f0ae3
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
}