From d0e4e8adbd6229d60f710f30d5dc44e4ab33f7a5 Mon Sep 17 00:00:00 2001 From: Mike Frysinger Date: Mon, 29 Jan 2007 03:59:09 +0000 Subject: make sure 64bit output is correct --- test/stdio/64bit.c | 8 ++++++++ test/stdio/Makefile | 6 ++++++ 2 files changed, 14 insertions(+) create mode 100644 test/stdio/64bit.c create mode 100644 test/stdio/Makefile (limited to 'test/stdio') diff --git a/test/stdio/64bit.c b/test/stdio/64bit.c new file mode 100644 index 000000000..15ad3f8b2 --- /dev/null +++ b/test/stdio/64bit.c @@ -0,0 +1,8 @@ +#include + +int main(void) +{ + void *ptr = (void *)-1; + printf("%p\n", ptr); + return 0; +} diff --git a/test/stdio/Makefile b/test/stdio/Makefile new file mode 100644 index 000000000..d3ae2f368 --- /dev/null +++ b/test/stdio/Makefile @@ -0,0 +1,6 @@ +# uClibc assert tests +# Licensed under the LGPL v2.1, see the file COPYING.LIB in this tarball. + +include ../Test.mak + +DODIFF_64bit := 1 -- cgit v1.2.3