1f51a89d39
These were ignored by git accidentally. We want ALL OF THEM since they all came in the llvm/clang source distribution.
9 lines
302 B
Objective-C
9 lines
302 B
Objective-C
// RUN: %clang_cc1 -verify -fsyntax-only %s
|
|
|
|
__attribute__((deprecated)) @class B; // expected-error {{prefix attribute must be followed by an interface or protocol}}
|
|
|
|
__attribute__((deprecated)) @interface A @end
|
|
__attribute__((deprecated)) @protocol P0;
|
|
__attribute__((deprecated)) @protocol P1
|
|
@end
|