1 // RUN: %clang_cc1 -fsyntax-only -verify %s
5 @protocol MyProtocol @end
7 @interface MyClass @end
11 MyClass <MyProtocol> *obj_p;
15 obj_p = obj_cp; // expected-warning {{incompatible pointer types assigning to 'MyClass<MyProtocol> *' from 'MyClass *'}}