1 // RUN: %clang_cc1 -triple i386-apple-darwin9 %s -fsyntax-only -verify
4 @interface NSWhatever :
5 NSObject // expected-error {{cannot find interface declaration for 'NSObject'}}
6 <NSCopying> // expected-error {{cannot find protocol declaration for 'NSCopying'}}
14 } // expected-error {{expected ';' at end of declaration list}}
24 INT1 b[3]; // expected-error {{array of interface 'INT1' is invalid (probably should be an array of pointers)}}
31 @interface FOO // expected-note {{previous definition is here}}
35 @interface FOO // expected-error {{duplicate interface definition for class 'FOO'}}