[OpenACC] Enable 'attach' clause for combined constructs
[llvm-project.git] / clang / test / SemaCXX / warn-deprecated-header.cpp
blob015e7751b93ad5a6d687b79843b7653fabfab858
1 // RUN: %clang_cc1 -fsyntax-only -fdeprecated-macro -verify %s
2 // RUN: %clang_cc1 -fsyntax-only -Werror %s
4 // expected-warning@+2 {{This file is deprecated.}}
5 #ifdef __DEPRECATED
6 #warning This file is deprecated.
7 #endif