summaryrefslogtreecommitdiff
path: root/test/stdio/64bit.c
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2007-01-29 03:59:09 +0000
committerMike Frysinger <vapier@gentoo.org>2007-01-29 03:59:09 +0000
commitd0e4e8adbd6229d60f710f30d5dc44e4ab33f7a5 (patch)
treeff5775b881a9ec2c4690a1f8d05dadacdf098f55 /test/stdio/64bit.c
parentfcd11317c46159948085ad432ef41fd91ff67f1e (diff)
make sure 64bit output is correct
Diffstat (limited to 'test/stdio/64bit.c')
-rw-r--r--test/stdio/64bit.c8
1 files changed, 8 insertions, 0 deletions
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 <stdio.h>
+
+int main(void)
+{
+ void *ptr = (void *)-1;
+ printf("%p\n", ptr);
+ return 0;
+}