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
8