summaryrefslogtreecommitdiff
path: root/test/stdio
diff options
context:
space:
mode:
Diffstat (limited to 'test/stdio')
-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;
}