PR ld/10515
[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 }