[PowerPC] Collect some CallLowering arguments into a struct. [NFC]
[llvm-project.git] / clang / test / SemaObjC / synth-provisional-ivars-1.m
blob39f474727b7b741bf3b5ed4b02d8e6eeeecd854e
1 // RUN: %clang_cc1 -fsyntax-only -verify -Wno-objc-root-class %s
2 // expected-no-diagnostics
3 // rdar://8913053
5 typedef unsigned char BOOL;
7 @interface MailApp
9   BOOL _isAppleInternal;
11 @property(assign) BOOL isAppleInternal;
12 @end
14 static BOOL isAppleInternal() {return 0; }
16 @implementation MailApp
18 - (BOOL)isAppleInternal {
19     return _isAppleInternal;
22 - (void)setIsAppleInternal:(BOOL)flag {
23     _isAppleInternal= !!flag;
26 - (void) Meth {
27     self.isAppleInternal = isAppleInternal();
29 @end