llvm-project/clang/test/CodeGenObjC/objc2-protocol-metadata.m
Nikita Popov 9466b49171 [Clang] Convert various tests to opaque pointers (NFC)
These were all tests where no manual fixup was required.
2022-12-12 17:11:46 +01:00

18 lines
345 B
Objective-C

// RUN: %clang_cc1 -triple x86_64-apple-macosx10.10 -emit-llvm -o - %s | FileCheck %s
// rdar://20286356
@protocol P1
- InstP;
+ ClsP;
@end
@interface INTF <P1>
@end
@implementation INTF
- InstP { return 0; }
+ ClsP { return 0; }
@end
// CHECK: %struct._protocol_t = type { ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, i32, i32, ptr, ptr, ptr }