[Reland][Runtimes] Merge 'compile_commands.json' files from runtimes build (#116303)
[llvm-project.git] / clang / test / Sema / suppress-deprecated.c
blob5b764aff86c97e7d28db027893aba97aaf86cd4b
1 // RUN: %clang_cc1 -fsyntax-only -Wno-deprecated-declarations -verify %s
2 // expected-no-diagnostics
3 extern void OldFunction(void) __attribute__((deprecated));
5 int main (int argc, const char * argv[]) {
6 OldFunction();