Fariborz Jahanian | 960cd06 | 2009-04-10 18:47:34 +0000 | [diff] [blame] | 1 | // 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 | |
| 9 | typedef 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 | |