diff options
author | Ian Lance Taylor <ian@airs.com> | 2011-07-09 05:09:52 +0000 |
---|---|---|
committer | Ian Lance Taylor <ian@airs.com> | 2011-07-09 05:09:52 +0000 |
commit | 9c16daf1fcf87c2d75dea6775586135685237b4d (patch) | |
tree | fdcee7c6bcd7aace93049e79dc4114e872d94679 /gold/testsuite | |
parent | 191f1a2dccbc09da4c6cf7dc9b3ad5fa8520a4e8 (diff) | |
download | gdb-9c16daf1fcf87c2d75dea6775586135685237b4d.zip gdb-9c16daf1fcf87c2d75dea6775586135685237b4d.tar.gz gdb-9c16daf1fcf87c2d75dea6775586135685237b4d.tar.bz2 |
* testsuite/odr_violation2.cc (Ordering::operator()): Make
expression more complex.
Diffstat (limited to 'gold/testsuite')
-rw-r--r-- | gold/testsuite/odr_violation2.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gold/testsuite/odr_violation2.cc b/gold/testsuite/odr_violation2.cc index a159182..e3d30f3 100644 --- a/gold/testsuite/odr_violation2.cc +++ b/gold/testsuite/odr_violation2.cc @@ -12,7 +12,7 @@ class Ordering { bool Ordering::operator()(int a, int b) { // Optimization makes this operator() a different size than the one // in odr_violation1.cc. - return a + 1 > b + 1; + return a + 12345 > b / 67; } void SortDescending(int array[], int size) { |