// RUN: %clang_cc1 -fsyntax-only -verify -Wno-objc-root-class %s
@class FOO, BAR; // expected-note {{forward declaration of class here}}
@class FOO, BAR;
@class INTF1, INTF2;
// 2nd test of a forward class declaration matching a typedef name
// referring to class object.
// FIXME. This may become a negative test should we decide to make this an error.
//
typedef NSObject <XCElementP> XCElement; // expected-note {{previous definition is here}}
@class XCElement; // expected-warning {{redefinition of forward class 'XCElement' of a typedef name of an object type is ignored}}
// rdar://9653341
@class B; // expected-note {{forward declaration of class here}}