repo.or.cz
/
llvm-project.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
[clang] Handle __declspec() attributes in using
[llvm-project.git]
/
clang
/
test
/
SemaCXX
/
warn-deprecated-header.cpp
blob
015e7751b93ad5a6d687b79843b7653fabfab858
1
// RUN: %clang_cc1 -fsyntax-only -fdeprecated-macro -verify %s
2
// RUN: %clang_cc1 -fsyntax-only -Werror %s
3
4
// expected-warning@+2 {{This file is deprecated.}}
5
#ifdef __DEPRECATED
6
#warning This file is deprecated.
7
#endif