1 // RUN: %clang_cc1 -verify -fsyntax-only %s
3 __attribute__((deprecated)) @class B; // expected-error {{prefix attribute must be followed by an interface or protocol}}
5 __attribute__((deprecated)) @interface A @end
6 __attribute__((deprecated)) @protocol P0;
7 __attribute__((deprecated)) @protocol P1