summaryrefslogtreecommitdiffstats
path: root/test/SemaObjC/conflict-nonfragile-abi2.m
diff options
context:
space:
mode:
Diffstat (limited to 'test/SemaObjC/conflict-nonfragile-abi2.m')
-rw-r--r--test/SemaObjC/conflict-nonfragile-abi2.m8
1 files changed, 5 insertions, 3 deletions
diff --git a/test/SemaObjC/conflict-nonfragile-abi2.m b/test/SemaObjC/conflict-nonfragile-abi2.m
index 86947cf..5d6b281 100644
--- a/test/SemaObjC/conflict-nonfragile-abi2.m
+++ b/test/SemaObjC/conflict-nonfragile-abi2.m
@@ -1,10 +1,10 @@
// RUN: %clang_cc1 -fobjc-nonfragile-abi -verify -fsyntax-only %s
// rdar://8225011
-int glob; // expected-note {{global variable declared here}}
+int glob;
@interface I
-@property int glob; // expected-note {{property declared here}}
+@property int glob;
@property int p;
@property int le;
@property int l;
@@ -12,8 +12,10 @@ int glob; // expected-note {{global variable declared here}}
@property int r;
@end
+// rdar://9027673
+// Warning on future name lookup rule is removed.
@implementation I
-- (int) Meth { return glob; } // expected-warning {{when default property synthesis is on, 'glob' lookup will access}}
+- (int) Meth { return glob; } // no warning
@synthesize glob;
// rdar://8248681
- (int) Meth1: (int) p {
OpenPOWER on IntegriCloud