Debian Codegraph @

clang/test/Sema/suppress-deprecated.c

raw
1 // RUN: %clang_cc1 -fsyntax-only -Wno-deprecated-declarations -verify %s
2 // expected-no-diagnostics
3 extern void OldFunction(void) __attribute__((deprecated));
4
5 int main (int argc, const char * argv[]) {
6 OldFunction();
7 }
8