aboutsummaryrefslogtreecommitdiff
path: root/gold/testsuite/odr_violation2.cc
diff options
context:
space:
mode:
Diffstat (limited to 'gold/testsuite/odr_violation2.cc')
-rw-r--r--gold/testsuite/odr_violation2.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/gold/testsuite/odr_violation2.cc b/gold/testsuite/odr_violation2.cc
index aa9868f..35dd454 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 + 12345 > b / 67;
+ return (a * 30 + b + 12345) > b / 67;
}
void SortDescending(int array[], int size) {