// RUN: %clang_analyze_cc1 -analyzer-checker=core,osx.cocoa.RetainCount,alpha.core -verify %s
// expected-no-diagnostics
typedef struct objc_selector *SEL;
typedef signed char BOOL;
typedef int NSInteger;
typedef unsigned int NSUInteger;
typedef struct _NSZone NSZone;
@class NSInvocation, NSMethodSignature, NSCoder, NSString, NSEnumerator;
@protocol NSObject - isEqual: object; @end
@protocol NSCopying - copyWithZone: zone; @end
@protocol NSMutableCopying - mutableCopyWithZone: zone; @end
@protocol NSCoding - encodeWithCoder: aCoder; @end
@interface NSObject <NSObject> - init; @end
extern id ;
extern NSString * const NSBundleDidLoadNotification;
extern NSString * const NSConnectionReplyMode;
//----------------------------------------------------------------------------//
// The following test case was filed in PR 2593:
// http://llvm.org/bugs/show_bug.cgi?id=2593
//
// There should be no null dereference flagged by the checker because of
// NSParameterAssert and NSAssert.
void