blob: 8e186fcee43d85c018ef0aeaa0a28ffd636cb165 [file] [log] [blame]
Fariborz Jahanian6a9c46b2015-03-31 22:22:40 +00001// RUN: %clang_cc1 -triple x86_64-apple-macosx10.10 -emit-llvm -o - %s | FileCheck %s
2// rdar://20286356
3
4@protocol P1
5- InstP;
6+ ClsP;
7@end
8
9@interface INTF <P1>
10@end
11
12@implementation INTF
13- InstP { return 0; }
14+ ClsP { return 0; }
15@end
16
Manman Rence7bff52016-01-29 23:46:55 +000017// CHECK: %struct._protocol_t = type { i8*, i8*, %struct._objc_protocol_list*, %struct.__method_list_t*, %struct.__method_list_t*, %struct.__method_list_t*, %struct.__method_list_t*, %struct._prop_list_t*, i32, i32, i8**, i8*, %struct._prop_list_t* }