[docs] Add LICENSE.txt to the root of the mono-repo
[llvm-project.git] / clang / test / Rewriter / rewrite-modern-protocol-1.mm
blob7b737fe61d66f90678c8bb56066d42945ddd24b7
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
5 @protocol NSCopying @end
7 @interface INTF<NSCopying>
8 @end
10 @implementation INTF @end
12 // CHECK: static struct _protocol_t _OBJC_PROTOCOL_NSCopying
13 // CHECK: static struct _protocol_t *_OBJC_LABEL_PROTOCOL_$_NSCopying = &_OBJC_PROTOCOL_NSCopying;