1 // RUN: %clang_cc1 -fsyntax-only -Wno-objc-root-class -verify %s
8 @implementation I<P> @end // expected-error {{@implementation declaration cannot be protocol qualified}}
14 @implementation J < P,P > // expected-error {{@implementation declaration cannot be protocol qualified}}
19 @implementation K <P // expected-error {{@implementation declaration cannot be protocol qualified}} expected-error {{expected '>'}} expected-note {{to match this '<'}}
22 @implementation I (Cat) <P> // expected-error {{@implementation declaration cannot be protocol qualified}}
26 @implementation I (Cat1) <P // expected-error {{@implementation declaration cannot be protocol qualified}} expected-error {{expected '>'}} expected-note {{to match this '<'}}