1// RUN: %clang_cc1 -fsyntax-only -fobjc-default-synthesize-properties -verify -Wno-objc-root-class %s 2// rdar://8913053 3 4typedef unsigned char BOOL; 5 6@interface MailApp 7{ 8 BOOL _isAppleInternal; 9} 10@property(assign) BOOL isAppleInternal; 11@end 12 13static BOOL isAppleInternal() {return 0; } 14 15@implementation MailApp 16 17- (BOOL)isAppleInternal { 18 return _isAppleInternal; 19} 20 21- (void)setIsAppleInternal:(BOOL)flag { 22 _isAppleInternal= !!flag; 23} 24 25- (void) Meth { 26 self.isAppleInternal = isAppleInternal(); 27} 28@end 29