summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDenis Vlasenko <vda.linux@googlemail.com>2009-02-18 14:04:02 +0000
committerDenis Vlasenko <vda.linux@googlemail.com>2009-02-18 14:04:02 +0000
commit1be29904fbf167cca410c96cd5fd576121bd86bf (patch)
tree125173de4964fd3764fc5a590a7dbc836817a8af
parentf5dd3448dcc52607a9c6c9802a7cbad64600155e (diff)
downloaduClibc-alpine-1be29904fbf167cca410c96cd5fd576121bd86bf.tar.bz2
uClibc-alpine-1be29904fbf167cca410c96cd5fd576121bd86bf.tar.xz
test/math/compile_test.c: make it exit with 0 always
-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;
}