summaryrefslogtreecommitdiffstats
path: root/clang/test/SemaObjC/warn-implicit-atomic-property.m
diff options
context:
space:
mode:
Diffstat (limited to 'clang/test/SemaObjC/warn-implicit-atomic-property.m')
-rw-r--r--clang/test/SemaObjC/warn-implicit-atomic-property.m4
1 files changed, 2 insertions, 2 deletions
diff --git a/clang/test/SemaObjC/warn-implicit-atomic-property.m b/clang/test/SemaObjC/warn-implicit-atomic-property.m
index bf60dbb6307..0b4590a42db 100644
--- a/clang/test/SemaObjC/warn-implicit-atomic-property.m
+++ b/clang/test/SemaObjC/warn-implicit-atomic-property.m
@@ -3,11 +3,11 @@
@interface Super
@property (nonatomic, readwrite) int P; // OK
-@property (readwrite) int P1; // expected-note {{property declared here}}
+@property (atomic, readwrite) int P1; // OK
@property (readwrite) int P2; // expected-note {{property declared here}}
@property int P3; // expected-note {{property declared here}}
@end
@implementation Super // expected-warning {{property is assumed atomic when auto-synthesizing the property [-Wimplicit-atomic-properties]}}
-@synthesize P,P1,P2; // expected-warning 2 {{property is assumed atomic by default [-Wimplicit-atomic-properties]}}
+@synthesize P,P1,P2; // expected-warning {{property is assumed atomic by default [-Wimplicit-atomic-properties]}}
@end
OpenPOWER on IntegriCloud