opnsense-src/test/SemaObjC/undefined-protocol-type-1.m
2010-01-01 10:34:51 +00:00

9 lines
288 B
Objective-C

// RUN: %clang_cc1 -fsyntax-only -verify %s
@protocol p1, p4;
@protocol p2 @end
@interface T
- (T<p2, p3, p1, p4>*) meth; // expected-error {{cannot find protocol declaration for 'p3'}}
- (T<p2, p3, p1, p4>*) meth; // expected-error {{cannot find protocol declaration for 'p3'}}
@end