1 // RUN: %clang_cc1 -fsyntax-only -verify -Wno-objc-root-class %s
6 class A; // expected-note {{forward declaration of 'A'}}
7 template<class T> class V { T x; }; // expected-error {{field has incomplete type 'A'}}
10 - (V<A*>)protocolMethod;
15 @interface I<Protocol>
20 - (void)randomMethod:(id)info {
21 V<A*> vec([self protocolMethod]);
24 - (V<A*>)protocolMethod {
27 - (V<A>)method2 { // expected-note {{in instantiation of}}