summaryrefslogtreecommitdiffstats
path: root/clang/test/SemaObjC/unused.m
diff options
context:
space:
mode:
Diffstat (limited to 'clang/test/SemaObjC/unused.m')
-rw-r--r--clang/test/SemaObjC/unused.m2
1 files changed, 1 insertions, 1 deletions
diff --git a/clang/test/SemaObjC/unused.m b/clang/test/SemaObjC/unused.m
index ce77cf1b5f5..bbe3109a281 100644
--- a/clang/test/SemaObjC/unused.m
+++ b/clang/test/SemaObjC/unused.m
@@ -25,7 +25,7 @@ int test1(void) {
@end
void test2() {
- @"pointless example call for test purposes".length; // expected-warning {{expression result unused}}
+ @"pointless example call for test purposes".length; // expected-warning {{property access result unused - getters should not have side effects}}
}
OpenPOWER on IntegriCloud