From 9c16daf1fcf87c2d75dea6775586135685237b4d Mon Sep 17 00:00:00 2001 From: Ian Lance Taylor Date: Sat, 9 Jul 2011 05:09:52 +0000 Subject: * testsuite/odr_violation2.cc (Ordering::operator()): Make expression more complex. --- gold/testsuite/odr_violation2.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'gold/testsuite/odr_violation2.cc') 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) { -- cgit v1.1