Run DCE after a LoopFlatten test to reduce spurious output [nfc]
[llvm-project.git] / clang / test / Rewriter / rewrite-modern-protocol-1.mm
blob0cde38665c5882e5e021ea321104cc997ad769a2
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
4 @protocol NSCopying @end
6 @interface INTF<NSCopying>
7 @end
9 @implementation INTF @end
11 // CHECK: static struct _protocol_t _OBJC_PROTOCOL_NSCopying
12 // CHECK: static struct _protocol_t *_OBJC_LABEL_PROTOCOL_$_NSCopying = &_OBJC_PROTOCOL_NSCopying;