1 | // RUN: %clang_cc1 -fsyntax-only -verify %s |
---|---|
2 | |
3 | @protocol p1, p4; |
4 | @protocol p2 @end |
5 | |
6 | @interface T |
7 | - (T<p2, p3, p1, p4>*) meth; // expected-error {{cannot find protocol declaration for 'p3'}} |
8 | - (T<p2, p3, p1, p4>*) meth1; // expected-error {{cannot find protocol declaration for 'p3'}} |
9 | @end |
10 |