Home | History | Annotate | Download | only in SemaObjC
      1 // RUN: %clang_cc1 -fsyntax-only -verify %s
      2 
      3 @protocol fproto;
      4 
      5 @protocol p1 
      6 @end
      7 
      8 @class cl;
      9 
     10 int main()
     11 {
     12 	Protocol *proto = @protocol(p1);
     13         Protocol *fproto = @protocol(fproto);
     14 }
     15 
     16