Daniel Dunbar | a572887 | 2009-12-15 20:14:24 +0000 | [diff] [blame] | 1 | // RUN: %clang_cc1 -fsyntax-only -verify %s |
Fariborz Jahanian | 245f92a | 2007-10-05 21:01:53 +0000 | [diff] [blame] | 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>*) meth; // expected-error {{cannot find protocol declaration for 'p3'}} | ||||
9 | @end |