llvm-project/clang/test/Sema/surpress-deprecated.c

9 lines
219 B
C

// RUN: %clang_cc1 -fsyntax-only -Wno-deprecated-declarations -verify %s
// expected-no-diagnostics
extern void OldFunction() __attribute__((deprecated));
int main (int argc, const char * argv[]) {
OldFunction();
}