summaryrefslogtreecommitdiffstats
path: root/test/SemaObjC/unused.m
diff options
context:
space:
mode:
Diffstat (limited to 'test/SemaObjC/unused.m')
-rw-r--r--test/SemaObjC/unused.m4
1 files changed, 2 insertions, 2 deletions
diff --git a/test/SemaObjC/unused.m b/test/SemaObjC/unused.m
index a33a1bc..1ecf322 100644
--- a/test/SemaObjC/unused.m
+++ b/test/SemaObjC/unused.m
@@ -1,4 +1,4 @@
-// RUN: %clang_cc1 %s -verify -Wunused -fsyntax-only
+// RUN: %clang_cc1 %s -verify -Wunused -Wunused-parameter -fsyntax-only
int printf(const char *, ...);
@@ -21,7 +21,7 @@ int test1(void) {
@end
void test2() {
- @"pointless example call for test purposes".length; // expected-warning {{property access result unused - getters should not have side effects}}
+ @"pointless example call for test purposes".length; // expected-warning {{property access result unused - getters should not be used for side effects}}
}
@interface foo
OpenPOWER on IntegriCloud