Fix testcase to not print pointer value
authorChris Lattner <sabre@nondot.org>
Mon, 29 Jul 2002 19:07:48 +0000 (19:07 +0000)
committerChris Lattner <sabre@nondot.org>
Mon, 29 Jul 2002 19:07:48 +0000 (19:07 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@3119 91177308-0d34-0410-b5e6-96231b3b80d8

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;
 }