Daniel Dunbar | a572887 | 2009-12-15 20:14:24 +0000 | [diff] [blame^] | 1 | // RUN: %clang_cc1 -fsyntax-only -verify %s |
Fariborz Jahanian | 737061f | 2009-12-11 00:26:36 +0000 | [diff] [blame] | 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 | } |