2012-06-20 14:18:46 +08:00
|
|
|
// RUN: %clang_cc1 -x objective-c++ -fblocks -fms-extensions -rewrite-objc -fobjc-runtime=macosx-fragile-10.5 %s -o %t-rw.cpp
|
2010-02-17 06:27:50 +08:00
|
|
|
// RUN: %clang_cc1 -fsyntax-only -Wno-address-of-temporary -D"SEL=void*" -D"__declspec(X)=" %t-rw.cpp
|
2010-02-16 05:37:11 +08:00
|
|
|
// radar 7649577
|
|
|
|
|
|
|
|
@interface a
|
|
|
|
@end
|
|
|
|
|
|
|
|
@interface b : a
|
|
|
|
@end
|
|
|
|
|
|
|
|
@implementation b
|
|
|
|
@end
|
|
|
|
|
2011-12-22 03:48:07 +08:00
|
|
|
@interface NSArray @end
|
|
|
|
@class NSArray;
|
|
|
|
@implementation NSArray @end
|