// RUN: %clang_cc1 -fsyntax-only -verify %s
@protocol p1,p2,p3; // expected-note {{protocol 'p2' has no definition}} \
// expected-note {{protocol 'p3' has no definition}}
@protocol p1;
// expected-warning {{cannot find protocol definition for 'p2'}}
// expected-warning {{cannot find protocol definition for 'p3'}}
@class U1, U2; // expected-note {{forward declaration of class here}}
// expected-error {{attempting to use the forward class 'U1' as superclass of 'E3'}}
// rdar://16111182
@protocol UndefinedParentProtocol; // expected-note {{protocol 'UndefinedParentProtocol' has no definition}}