1 // RUN: %clang_cc1 -fsyntax-only -verify -Wno-objc-root-class %s
2 // expected-no-diagnostics
4 typedef unsigned char BOOL;
10 @property(assign) BOOL isAppleInternal;
13 static BOOL isAppleInternal(void) {return 0; }
15 @implementation MailApp
17 - (BOOL)isAppleInternal {
18 return _isAppleInternal;
21 - (void)setIsAppleInternal:(BOOL)flag {
22 _isAppleInternal= !!flag;
26 self.isAppleInternal = isAppleInternal();