make sure 64bit output is correct
authorMike Frysinger <vapier@gentoo.org>
Mon, 29 Jan 2007 03:59:09 +0000 (03:59 -0000)
committerMike Frysinger <vapier@gentoo.org>
Mon, 29 Jan 2007 03:59:09 +0000 (03:59 -0000)
test/stdio/64bit.c [new file with mode: 0644]
test/stdio/Makefile [new file with mode: 0644]

diff --git a/test/stdio/64bit.c b/test/stdio/64bit.c
new file mode 100644 (file)
index 0000000..15ad3f8
--- /dev/null
@@ -0,0 +1,8 @@
+#include <stdio.h>
+
+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 (file)
index 0000000..d3ae2f3
--- /dev/null
@@ -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