diff options
| author | Eli Friedman <eli.friedman@gmail.com> | 2009-04-25 22:37:12 +0000 |
|---|---|---|
| committer | Eli Friedman <eli.friedman@gmail.com> | 2009-04-25 22:37:12 +0000 |
| commit | 7524de1da2a7e2fddd4e0db3d2da879d5377cfea (patch) | |
| tree | 5d42f01c66ed53f971d9eee5ae024ea70c2466c4 /clang/test/Sema/i-c-e.c | |
| parent | bb967cc98d6774ad6f4a423824f17ace8220e22d (diff) | |
| download | bcm5719-llvm-7524de1da2a7e2fddd4e0db3d2da879d5377cfea.tar.gz bcm5719-llvm-7524de1da2a7e2fddd4e0db3d2da879d5377cfea.zip | |
Change isNullPointerConstant to be strict; hopefully this won't cause
any issues now that we have our own tgmath.h.
llvm-svn: 70090
Diffstat (limited to 'clang/test/Sema/i-c-e.c')
| -rw-r--r-- | clang/test/Sema/i-c-e.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/clang/test/Sema/i-c-e.c b/clang/test/Sema/i-c-e.c index 6bc35413995..6afe035e1cf 100644 --- a/clang/test/Sema/i-c-e.c +++ b/clang/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; |

