PR4351: Add constant evaluation for constructs like "foo == NULL", where 
foo has a constant address.

llvm-svn: 73321
diff --git a/clang/test/Sema/const-eval.c b/clang/test/Sema/const-eval.c
index 971986b..72db14c 100644
--- a/clang/test/Sema/const-eval.c
+++ b/clang/test/Sema/const-eval.c
@@ -66,3 +66,5 @@
 EVAL_EXPR(31, (int*)0 == (int*)0 ? 1 : -1)
 EVAL_EXPR(32, (int*)0 != (int*)0 ? -1 : 1)
 EVAL_EXPR(33, (void*)0 - (void*)0 == 0 ? 1 : -1)
+void foo(void) {}
+EVAL_EXPR(34, (foo == (void *)0) ? -1 : 1)