summaryrefslogtreecommitdiffstats
path: root/clang/test/SemaObjC/property-category-impl.m
diff options
context:
space:
mode:
Diffstat (limited to 'clang/test/SemaObjC/property-category-impl.m')
-rw-r--r--clang/test/SemaObjC/property-category-impl.m5
1 files changed, 3 insertions, 2 deletions
diff --git a/clang/test/SemaObjC/property-category-impl.m b/clang/test/SemaObjC/property-category-impl.m
index be42deaf909..135b0057618 100644
--- a/clang/test/SemaObjC/property-category-impl.m
+++ b/clang/test/SemaObjC/property-category-impl.m
@@ -1,4 +1,5 @@
// RUN: %clang_cc1 -fsyntax-only -verify -Wno-objc-root-class %s
+// expected-no-diagnostics
/* This test is for categories which don't implement the accessors but some accessors are
implemented in their base class implementation. In this case,no warning must be issued.
@@ -24,10 +25,10 @@
@end
@interface MyClass (public)
-@property(readwrite) int foo; // expected-note {{property declared here}}
+@property(readwrite) int foo;
@end
-@implementation MyClass (public)// expected-warning {{property 'foo' requires method 'setFoo:' to be defined }}
+@implementation MyClass (public)
@end
// rdar://12568064
OpenPOWER on IntegriCloud