blob: 31a864b22d55fbae0a7e8e170db3076e40fc374b [file] [log] [blame]
Fariborz Jahanian960cd062009-04-10 18:47:34 +00001// RUN: clang-cc -triple x86_64-apple-darwin10 -S -o - %s | grep -e "private_extern l_OBJC_PROTOCOL_" | count 2
2
3@interface FOO @end
4
5@interface NSObject @end
6
7@protocol SSHIPCProtocolHandler_BDC;
8
9typedef NSObject<SSHIPCProtocolHandler_BDC> _SSHIPCProtocolHandler_BDC;
10
11@interface SSHIPC_v2_RPFSProxy
12@property(nonatomic,readonly,retain) _SSHIPCProtocolHandler_BDC* protocolHandler_BDC;
13@end
14
15@implementation FOO
16- (_SSHIPCProtocolHandler_BDC*) protocolHandler_BDC {@protocol(SSHIPCProtocolHandler_BDC); }
17@end
18
19