Pirama Arumuga Nainar | 33337ca | 2015-05-06 11:48:57 -0700 | [diff] [blame] | 1 | // 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 | |||||
17 | // 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* } |