category-lookup.mm 235 Bytes
// RUN: %clang_cc1 -fsyntax-only -verify %s

@interface NSObject @end

@interface NSObject (NSScriptClassDescription)
@end

void f() {
  NSScriptClassDescription *f; // expected-error {{unknown type name 'NSScriptClassDescription'}}
}