blob: 7064f167aaf3e095c150ebbad301c91991118f16 [file] [log] [blame]
// RUN: %clang_cc1 -fsyntax-only %s
// FIXME: This test case tests the patch applied in:
// Eventually that logic should be treated as an extension.
typedef signed char BOOL;
typedef int NSInteger;
typedef unsigned int NSUInteger;
typedef struct _NSZone NSZone;
@class NSInvocation, NSMethodSignature, NSCoder, NSString, NSEnumerator;
@protocol NSObject
- (BOOL)isEqual:(id)object;
@protocol NSCopying
- (id)copyWithZone:(NSZone *)zone;
@protocol NSMutableCopying
- (id)mutableCopyWithZone:(NSZone *)zone;
@protocol NSCoding
- (void)encodeWithCoder:(NSCoder *)aCoder;
@interface NSObject <NSObject> {}
@class NSArray;
typedef struct {} NSFastEnumerationState;
@protocol NSFastEnumeration
- (NSUInteger)countByEnumeratingWithState:(NSFastEnumerationState *)state objects:(id *)stackbuf count:(NSUInteger)len;
@class NSString;
@interface NSArray : NSObject <NSCopying, NSMutableCopying, NSCoding, NSFastEnumeration>
- (NSUInteger)count;
- (id)objectAtIndex:(NSUInteger)index;
typedef unsigned short unichar;
@interface NSString : NSObject <NSCopying, NSMutableCopying, NSCoding>
- (NSUInteger)length;
@interface NSSimpleCString : NSString
@interface NSConstantString : NSSimpleCString @end
extern void *_NSConstantStringClassReference;
@interface NSResponder : NSObject <NSCoding> {}
@class NSDate, NSDictionary, NSError, NSException, NSNotification;
@interface NSWindowController : NSResponder <NSCoding> {}
@class PBXBuildLog, PBXBuildLogItem, PBXBuildLogContainerItem, XCWorkQueueCommand, XCBuildLogContainerItemMutationState;
@protocol PBXBuildLogContainerItems <NSObject>
- (PBXBuildLog *)buildLog;
@interface PBXBuildLogItem : NSObject {}
- (id <PBXBuildLogContainerItems>)superitem;
@interface PBXBuildResultsModule
@implementation PBXBuildResultsModule
- (void) revealItems
PBXBuildLogItem *objItem;
PBXBuildLogItem *superitem = [objItem superitem];