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