Alexey Samsonov | 9c1b9f6 | 2012-12-03 18:28:12 +0000 | [diff] [blame] | 1 | // PR 14474 |
| 2 | // RUN: %clang_cc1 -triple i386-apple-macosx10.6.0 -emit-llvm \ |
Douglas Katzman | 3459ce2 | 2015-10-08 04:24:12 +0000 | [diff] [blame] | 3 | // RUN: -debug-info-kind=line-tables-only -x objective-c++ -o /dev/null %s |
Alexey Bataev | 80e1b5e | 2018-08-31 13:56:14 +0000 | [diff] [blame] | 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 |
Alexey Samsonov | 9c1b9f6 | 2012-12-03 18:28:12 +0000 | [diff] [blame] | 6 | |
| 7 | typedef 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 |