clang/test/CodeGenObjC/objc2-protocol-metadata.m
raw| 1 | // RUN: %clang_cc1 -triple x86_64-apple-macosx10.10 -emit-llvm -o - %s | FileCheck %s |
| 2 | |
| 3 | @protocol P1 |
| 4 | - InstP; |
| 5 | + ClsP; |
| 6 | @end |
| 7 | |
| 8 | @interface INTF <P1> |
| 9 | @end |
| 10 | |
| 11 | @implementation INTF |
| 12 | - InstP { return 0; } |
| 13 | + ClsP { return 0; } |
| 14 | @end |
| 15 | |
| 16 | // CHECK: %struct._protocol_t = type { ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, i32, i32, ptr, ptr, ptr } |