1*f4a2713aSLionel Sambuc// PR 14474 2*f4a2713aSLionel Sambuc// RUN: %clang_cc1 -triple i386-apple-macosx10.6.0 -emit-llvm \ 3*f4a2713aSLionel Sambuc// RUN: -gline-tables-only -x objective-c++ -o /dev/null %s 4*f4a2713aSLionel Sambuc 5*f4a2713aSLionel Sambuctypedef signed char BOOL; 6*f4a2713aSLionel Sambuc@class NSInvocation, NSMethodSignature, NSCoder, NSString, NSEnumerator; 7*f4a2713aSLionel Sambuc@protocol NSObject - (BOOL)isEqual:(id)object; 8*f4a2713aSLionel Sambuc@end 9*f4a2713aSLionel Sambuc@protocol NSCoding - (void)encodeWithCoder:(NSCoder *)aCoder; 10*f4a2713aSLionel Sambuc@end 11*f4a2713aSLionel Sambuc@interface NSObject <NSObject> { } 12*f4a2713aSLionel Sambuc@end 13*f4a2713aSLionel Sambuc@interface NSResponder : NSObject <NSCoding> { } 14*f4a2713aSLionel Sambuc@end 15*f4a2713aSLionel Sambuc@protocol NSValidatedUserInterfaceItem - (SEL)action; 16*f4a2713aSLionel Sambuc@end 17*f4a2713aSLionel Sambuc@protocol NSUserInterfaceValidations - (BOOL)validateUserInterfaceItem:(id 18*f4a2713aSLionel Sambuc<NSValidatedUserInterfaceItem>)anItem; 19*f4a2713aSLionel Sambuc@end 20*f4a2713aSLionel Sambuc@interface NSRunningApplication : NSObject { } 21*f4a2713aSLionel Sambuc@end 22*f4a2713aSLionel Sambuc@interface NSApplication : NSResponder <NSUserInterfaceValidations> { } 23*f4a2713aSLionel Sambuc@end 24*f4a2713aSLionel Sambuc@implementation MockCrApp + (NSApplication*)sharedApplication { } 25*f4a2713aSLionel Sambuc@end 26