diff options
Diffstat (limited to 'clang/test/Analysis/logical-ops.c')
-rw-r--r-- | clang/test/Analysis/logical-ops.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/clang/test/Analysis/logical-ops.c b/clang/test/Analysis/logical-ops.c index 2a03d96c0cb..afaa2f10778 100644 --- a/clang/test/Analysis/logical-ops.c +++ b/clang/test/Analysis/logical-ops.c @@ -36,5 +36,4 @@ int between(char *x) { int undef(void) {} // expected-warning{{control reaches end of non-void function}} void useUndef(void) { 0 || undef(); } -void testPointer(void) { (void) (1 && testPointer && 0); } // expected-warning {{address of function 'testPointer' will always evaluate to 'true'}} \ - // expected-note {{prefix with the address-of operator to silence this warning}} +void testPointer(void) { (void) (1 && testPointer && 0); } |