Three kinds of boolean values handled incorrectly:
[oota-llvm.git] / test / LLC / badfuncptr.c
index 8da7fbe3eb7ea3989e88c65bc244372ede7c6286..d0adf10ed5ac0c73fa7581649a92f2f349625923 100644 (file)
@@ -69,6 +69,6 @@ void *HashLookup(unsigned int key, Hash hash)
 int
 main()
 {
-  printf("&HashLookup = 0x%p\n", HashLookup);
+  printf("&HashLookup = %d\n", !!HashLookup);
   return 0;
 }