[PowerPC] Collect some CallLowering arguments into a struct. [NFC]
[llvm-project.git] / clang / test / SemaObjC / warn-implicit-atomic-property.m
blob7d5934f481b3825cadccbda1c77b98597846b56c
1 // RUN: %clang_cc1 -fsyntax-only -Wimplicit-atomic-properties -verify -Wno-objc-root-class %s
2 // rdar://8774580
4 @interface Super
5 @property (nonatomic, readwrite) int P; // OK
6 @property (atomic, readwrite) int P1; // OK
7 @property (readwrite) int P2; // expected-note {{property declared here}}
8 @property int P3; // expected-note {{property declared here}}
9 @end
11 @implementation Super // expected-warning {{property is assumed atomic when auto-synthesizing the property}}
12 @synthesize P,P1,P2; // expected-warning {{property is assumed atomic by default}}
13 @end