// RUN: %clang_cc1 -fsyntax-only -verify %s
@protocol FwProto; // expected-note{{marked unavailable}}
Class <FwProto> cFw = 0; // expected-error {{'FwProto' is unavailable}}
@protocol MyProto1 // expected-note 7 {{'MyProto1' has been explicitly marked deprecated here}}
@end
Class <MyProto1> clsP1 = 0; // expected-warning {{'MyProto1' is deprecated}}
// expected-note{{marked unavailable}}
@protocol XProto; // expected-note{{marked unavailable}}
idX = 0; // expected-error {{'XProto' is unavailable}}
int