summaryrefslogtreecommitdiff
path: root/clang/test/SemaObjCXX/category-lookup.mm
blob: 0e870259b73505f8bfd2b7b679442f010aa39b37 (about) (plain)
1
2
3
4
5
6
7
8
9
10
// RUN: %clang_cc1 -fsyntax-only -verify %s

@interface NSObject @end

@interface NSObject (NSScriptClassDescription)
@end

void f() {
  NSScriptClassDescription *f; // expected-error {{use of undeclared identifier 'NSScriptClassDescription'}}
}