Home | History | Annotate | Download | only in Parser
      1 // RUN: %clang_cc1 -fsyntax-only -verify %s
      2 
      3 @protocol MyProto1 
      4 @optional
      5 - (void) FOO;
      6 @optional
      7 - (void) FOO;
      8 @required 
      9 - (void) REQ;
     10 @optional
     11 @end
     12 
     13 @protocol  MyProto2 <MyProto1>
     14 - (void) FOO2;
     15 @optional
     16 - (void) FOO3;
     17 @end
     18