2009-12-16 04:14:24 +08:00
|
|
|
// RUN: %clang_cc1 -fsyntax-only -verify %s
|
2009-12-11 08:26:36 +08:00
|
|
|
|
|
|
|
@interface NSObject @end
|
|
|
|
|
|
|
|
@interface NSObject (NSScriptClassDescription)
|
|
|
|
@end
|
|
|
|
|
|
|
|
void f() {
|
2012-08-24 04:19:14 +08:00
|
|
|
NSScriptClassDescription *f; // expected-error {{unknown type name 'NSScriptClassDescription'}}
|
2009-12-11 08:26:36 +08:00
|
|
|
}
|