Home | History | Annotate | Download | only in Parser
      1 // RUN: %clang_cc1 -verify -fsyntax-only %s
      2 
      3 __attribute__((deprecated)) @class B; // expected-error {{prefix attribute must be followed by an interface or protocol}}
      4 
      5 __attribute__((deprecated)) @interface A @end
      6 __attribute__((deprecated)) @protocol P0;
      7 __attribute__((deprecated)) @protocol P1
      8 @end
      9