brintos

brintos / llvm-project-archived public Read only

0
0
Text · 383 B · 0cde386 Raw
14 lines · plain
1// RUN: %clang_cc1 -E %s -o %t.mm2// RUN: %clang_cc1 -x objective-c++ -fblocks -fms-extensions -rewrite-objc %t.mm -o - | FileCheck %s3 4@protocol NSCopying @end5 6@interface INTF<NSCopying>7@end8 9@implementation INTF @end10 11// CHECK: static struct _protocol_t _OBJC_PROTOCOL_NSCopying12// CHECK: static struct _protocol_t *_OBJC_LABEL_PROTOCOL_$_NSCopying = &_OBJC_PROTOCOL_NSCopying;13 14