1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16
// RUN: %clang_cc1 -triple x86_64-apple-macosx10.10 -emit-llvm -o - %s | FileCheck %s @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 }