make sure reading 64bit types works
authorMike Frysinger <vapier@gentoo.org>
Mon, 29 Jan 2007 04:03:31 +0000 (04:03 -0000)
committerMike Frysinger <vapier@gentoo.org>
Mon, 29 Jan 2007 04:03:31 +0000 (04:03 -0000)
test/stdio/64bit.c

index 15ad3f8..9b94dd8 100644 (file)
@@ -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;
 }