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