Home | History | Annotate | Download | only in SemaObjC
      1 // RUN: %clang_cc1 -fsyntax-only -verify %s
      2 // expected-no-diagnostics
      3 
      4 @protocol MyProtocol
      5 @end
      6 
      7 id<MyProtocol> obj_p = 0;
      8 
      9 int main()
     10 {
     11   obj_p = 0;
     12 }
     13 
     14