summaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2007-01-29 04:03:31 +0000
committerMike Frysinger <vapier@gentoo.org>2007-01-29 04:03:31 +0000
commit5736809f5b97d8eed29d15d75ab154cb92ece4d0 (patch)
treee4ced7cbba013162aeb09c73fd54cb759a376a52 /test
parentd0e4e8adbd6229d60f710f30d5dc44e4ab33f7a5 (diff)
make sure reading 64bit types works
Diffstat (limited to 'test')
-rw-r--r--test/stdio/64bit.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/test/stdio/64bit.c b/test/stdio/64bit.c
index 15ad3f8b2..9b94dd86c 100644
--- a/test/stdio/64bit.c
+++ b/test/stdio/64bit.c
@@ -2,7 +2,11 @@
int main(void)
{
+ unsigned long long val = -1;
void *ptr = (void *)-1;
printf("%p\n", ptr);
+
+ sscanf("123456789", "%Lx", &val);
+ printf("val = %Lx\n", val);
return 0;
}