summaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorDenis Vlasenko <vda.linux@googlemail.com>2009-02-18 14:04:17 +0000
committerDenis Vlasenko <vda.linux@googlemail.com>2009-02-18 14:04:17 +0000
commitef3c0c193ca1a16be465a735ada3026de61f9c61 (patch)
tree350fa49877a9043640beab0b0358647113d1c2e2 /test
parent8a7390cdc0a5de7e5d6be4aee2ac5fb30f5e39f4 (diff)
test/math/compile_test.c: make it exit with 0 always
Diffstat (limited to 'test')
-rw-r--r--test/math/compile_test.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/test/math/compile_test.c b/test/math/compile_test.c
index 4647b2381..361556a81 100644
--- a/test/math/compile_test.c
+++ b/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;
}