Home | History | Annotate | Download | only in Parser
      1 // RUN: %clang_cc1 -fsyntax-only -verify %s
      2 // rdar://7029784
      3 
      4 @interface A
      5 -(id) f0 { // expected-error {{expected ';' after method prototype}}
      6   assert(0);
      7 }
      8 @end
      9 
     10 @interface C
     11 - (id) f0 { // expected-error {{expected ';' after method prototype}}
     12     assert(0);
     13 };
     14 @end
     15