projects
/
binutils-gdb.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
* script-sections.cc (class Orphan_section_placement): Define
[binutils-gdb.git]
/
gold
/
testsuite
/
odr_violation1.cc
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
}