repo.or.cz
/
binutils.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
bfd/
[binutils.git]
/
gold
/
testsuite
/
odr_violation1.cc
blob
7f6f6d935b5c55c1d3ae307976999d4f6457528e
1
#include <algorithm>
2
3
class
Ordering
{
4
public
:
5
bool
operator
()(
int
a
,
int
b
) {
6
return
a
<
b
;
7
}
8
};
9
10
void
SortAscending
(
int
array
[],
int
size
) {
11
std
::
sort
(
array
,
array
+
size
,
Ordering
());
12
}