1 // RUN: %clang_cc1 -fsyntax-only -verify -pedantic %s 2 3 // FIXME: This is a horrible error message here. Fix. 4 int @"s" = 5; // expected-error {{prefix attribute must be}} 5 6 7 // rdar://6480479 8 @interface A 9 }; // expected-error {{missing @end}} \ 10 // expected-error {{expected external declaration}} \ 11 // expected-warning{{extra ';' outside of a function}} 12 13 14 15 16 // PR6811 17 // 'super' isn't an expression, it is a magic context-sensitive keyword. 18 @interface A2 { 19 id isa; 20 } 21 - (void)a; 22 @end 23 24 @interface B2 : A2 @end 25 @implementation B2 26 - (void)a 27 { 28 [(super) a]; // expected-error {{use of undeclared identifier 'super'}} 29 } 30 @end 31 32 @compatibility_alias A3 A2; 33