Change isNullPointerConstant to be strict; hopefully this won't cause
any issues now that we have our own tgmath.h.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@70090 91177308-0d34-0410-b5e6-96231b3b80d8
diff --git a/test/Sema/i-c-e.c b/test/Sema/i-c-e.c
index 6bc3541..6afe035 100644
--- a/test/Sema/i-c-e.c
+++ b/test/Sema/i-c-e.c
@@ -3,7 +3,7 @@
#include <stdint.h>
#include <limits.h>
-int a() {int p; *(1 ? &p : (void*)(0 && (a(),1))) = 10;}
+int a() {int p; *(1 ? &p : (void*)(0 && (a(),1))) = 10;} // expected-error {{incomplete type 'void' is not assignable}}
// rdar://6091492 - ?: with __builtin_constant_p as the operand is an i-c-e.
int expr;