1 // RUN: %clang_cc1 -triple i386-apple-darwin9 -fobjc-runtime=macosx-fragile-10.5 %s -fsyntax-only -verify
3 @interface NSWhatever :
4 NSObject // expected-error {{cannot find interface declaration for 'NSObject'}}
5 <NSCopying> // expected-error {{no type or protocol named 'NSCopying'}}
11 } // expected-error {{expected ';' at end of declaration list}}
18 INT1 b[3]; // expected-error {{array of interface 'INT1' is invalid (probably should be an array of pointers)}}
23 @interface FOO // expected-note {{previous definition is here}}
27 @interface FOO // expected-error {{duplicate interface definition for class 'FOO'}}