summaryrefslogtreecommitdiff
path: root/clang/test/Sema/surpress-deprecated.c
blob: dd673b9646ea30317d6be4d442c357e06a748e01 (about) (plain)
1
2
3
4
5
6
7
// RUN: %clang_cc1 -fsyntax-only -Wno-deprecated-declarations -verify %s
extern void OldFunction() __attribute__((deprecated));

int main (int argc, const char * argv[]) {
  OldFunction();
}