1 // REQUIRES: x86-registered-target
2 // RUN: %clang_cc1 -triple x86_64-apple-darwin10 -S %s -o %t-64.s
3 // RUN: FileCheck -check-prefix CHECK-LP64 --input-file=%t-64.s %s
4 // RUN: %clang_cc1 -triple i386-apple-darwin -fobjc-runtime=macosx-fragile-10.5 -S %s -o %t-32.s
5 // RUN: FileCheck -check-prefix CHECK-LP32 --input-file=%t-32.s %s
10 @protocol ExtendedProtocol
13 @interface ItDoesntWork<MyProtocol> {
18 @interface ItDoesntWork() <MyProtocol, ExtendedProtocol>
21 @implementation ItDoesntWork
23 ItDoesntWork <MyProtocol, ExtendedProtocol> *p = 0;
27 // CHECK-LP64: __OBJC_PROTOCOL_$_ExtendedProtocol:
29 // CHECK-LP32: _OBJC_PROTOCOL_ExtendedProtocol: