1 // RUN: %clang_cc1 -fsyntax-only -verify -Wno-objc-root-class %s
2 // expected-no-diagnostics
5 typedef unsigned char BOOL;
11 @property(assign) BOOL isAppleInternal;
14 static BOOL isAppleInternal() {return 0; }
16 @implementation MailApp
18 - (BOOL)isAppleInternal {
19 return _isAppleInternal;
22 - (void)setIsAppleInternal:(BOOL)flag {
23 _isAppleInternal= !!flag;
27 self.isAppleInternal = isAppleInternal();