Browse Source

test/math/compile_test.c: make it exit with 0 always

Denis Vlasenko 16 years ago
parent
commit
ef3c0c193c
1 changed files with 2 additions and 1 deletions
  1. 2 1
      test/math/compile_test.c

+ 2 - 1
test/math/compile_test.c

@@ -134,5 +134,6 @@ return r;
 
 int main(int argc, char **argv)
 {
-	return (long) &testf + (long) &testl;
+        /* Always 0 but gcc hopefully won't be able to notice */
+        return 5 & ((long)&testf) & ((long)&testl) & 2;
 }