Gitiles
Code Review
Sign In
gerrit-public.fairphone.software
/
fp2-dev
/
platform
/
external
/
clang
/
4872e1014844632083690cc1d021b95218a5023b
/
.
/
test
/
SemaCXX
/
warn-deprecated-header.cpp
blob: f6ac2cb6393a4249b86745a9df23e5e535bbf206 [
file
] [
log
] [
blame
]
// RUN: %clang_cc1 -fsyntax-only -fdeprecated-macro -verify %s
// RUN: %clang_cc1 -fsyntax-only -Werror %s
#ifdef
__DEPRECATED
#warning
This
file is deprecated
.
// expected-warning {{This file is deprecated.}}
#endif