summaryrefslogtreecommitdiffstats
path: root/clang/test/Analysis/func.c
diff options
context:
space:
mode:
Diffstat (limited to 'clang/test/Analysis/func.c')
-rw-r--r--clang/test/Analysis/func.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/clang/test/Analysis/func.c b/clang/test/Analysis/func.c
index a7e84615fd3..53c873df55a 100644
--- a/clang/test/Analysis/func.c
+++ b/clang/test/Analysis/func.c
@@ -4,7 +4,7 @@
void f(void) {
void (*p)(void);
p = f;
- p = &f; // expected-warning{{Assigned value is always the same as the existing value}}
+ p = &f;
p();
(*p)();
}
OpenPOWER on IntegriCloud