summaryrefslogtreecommitdiff
path: root/clang/test/SemaCXX/warn-deprecated-header.cpp
blob: f6ac2cb6393a4249b86745a9df23e5e535bbf206 (about) (plain)
1
2
3
4
5
6
// 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