Fariborz Jahanian | 737061f | 2009-12-11 00:26:36 +0000 | [diff] [blame^] | 1 | // RUN: clang-cc -fsyntax-only -verify %s |
2 | |||||
3 | @interface NSObject @end | ||||
4 | |||||
5 | @interface NSObject (NSScriptClassDescription) | ||||
6 | @end | ||||
7 | |||||
8 | void f() { | ||||
9 | NSScriptClassDescription *f; // expected-error {{use of undeclared identifier 'NSScriptClassDescription'}} | ||||
10 | } |