Home | History | Annotate | Download | only in SemaObjCXX
      1 // RUN: %clang_cc1 -fsyntax-only -verify %s
      2 // Make sure we don't crash in TreeTransform<Derived>::TransformObjCObjectType.
      3 
      4 @protocol P1
      5 @end
      6 
      7 template <class T1><P1> foo1(T1) { // expected-warning {{protocol has no object type specified; defaults to qualified 'id'}}
      8   foo1(0);
      9 }
     10