summaryrefslogtreecommitdiffstats
path: root/clang/test/Sema/exprs.c
diff options
context:
space:
mode:
Diffstat (limited to 'clang/test/Sema/exprs.c')
-rw-r--r--clang/test/Sema/exprs.c6
1 files changed, 1 insertions, 5 deletions
diff --git a/clang/test/Sema/exprs.c b/clang/test/Sema/exprs.c
index 17b1aa2851b..2fb17e4880c 100644
--- a/clang/test/Sema/exprs.c
+++ b/clang/test/Sema/exprs.c
@@ -244,10 +244,6 @@ void test22() {
if ("help")
(void) 0;
- if (test22) // expected-warning {{address of function 'test22' will always evaluate to 'true'}} \
- // expected-note {{prefix with the address-of operator to silence this warning}}
- (void) 0;
-
- if (&test22)
+ if (test22)
(void) 0;
}
OpenPOWER on IntegriCloud