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