1 | // RUN: %clang_cc1 -E %s -o %t.mm |
---|---|
2 | // RUN: %clang_cc1 -x objective-c++ -fblocks -fms-extensions -rewrite-objc %t.mm -o - | FileCheck %s |
3 | // rdar://11248048 |
4 | |
5 | @protocol NSCopying @end |
6 | |
7 | @interface INTF<NSCopying> |
8 | @end |
9 | |
10 | @implementation INTF @end |
11 | |
12 | // CHECK: static struct _protocol_t _OBJC_PROTOCOL_NSCopying |
13 | // CHECK: static struct _protocol_t *_OBJC_LABEL_PROTOCOL_$_NSCopying = &_OBJC_PROTOCOL_NSCopying; |
14 | |
15 |