blob: cfc6d78b6b8880f2d12678fd09093042fe11289d [file] [log] [blame]
Alexey Samsonov9c1b9f62012-12-03 18:28:12 +00001// PR 14474
2// RUN: %clang_cc1 -triple i386-apple-macosx10.6.0 -emit-llvm \
Douglas Katzman3459ce22015-10-08 04:24:12 +00003// RUN: -debug-info-kind=line-tables-only -x objective-c++ -o /dev/null %s
Alexey Bataev80e1b5e2018-08-31 13:56:14 +00004// 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
Alexey Samsonov9c1b9f62012-12-03 18:28:12 +00006
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