2009-12-05 H.J. Lu <hongjiu.lu@intel.com>
[binutils.git] / gold / testsuite / odr_violation1.cc
blob7f6f6d935b5c55c1d3ae307976999d4f6457528e
1 #include <algorithm>
3 class Ordering {
4 public:
5 bool operator()(int a, int b) {
6 return a < b;
8 };
10 void SortAscending(int array[], int size) {
11 std::sort(array, array + size, Ordering());