blob: 05962e3f288c3621a068dc77522a591e94658af8 [file] [log] [blame]
// RUN: %clang_cc1 -fsyntax-only -verify %s
// Make sure we don't crash in TreeTransform<Derived>::TransformObjCObjectType.
@protocol P1
@end
template <class T1><P1> foo1(T1) { // expected-warning {{protocol has no object type specified; defaults to qualified 'id'}}
foo1(0);
}