From 5736809f5b97d8eed29d15d75ab154cb92ece4d0 Mon Sep 17 00:00:00 2001 From: Mike Frysinger Date: Mon, 29 Jan 2007 04:03:31 +0000 Subject: make sure reading 64bit types works --- test/stdio/64bit.c | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'test/stdio') 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; } -- cgit v1.2.3