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