repo.or.cz
/
llvm-project.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
history
|
raw
|
HEAD
[clang][modules] Don't prevent translation of FW_Private includes when explicitly...
[llvm-project.git]
/
clang
/
test
/
SemaObjC
/
warn-category-method-deprecated.m
blob
30c11d6dd34f71f7c129ce4ecd0c94406166c6ea
1
// RUN: %clang_cc1 -fsyntax-only -Wno-objc-root-class -verify %s
2
3
@protocol P
4
- (void)meth;
5
@end
6
7
@interface I <P>
8
@end
9
10
@interface I(cat)
11
- (void)meth __attribute__((deprecated)); // expected-note {{'meth' has been explicitly marked deprecated here}}
12
@end
13
14
void foo(I *i) {
15
[i meth]; // expected-warning {{'meth' is deprecated}}
16
}