diff options
Diffstat (limited to 'test/Sema/surpress-deprecated.c')
-rw-r--r-- | test/Sema/surpress-deprecated.c | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/test/Sema/surpress-deprecated.c b/test/Sema/surpress-deprecated.c new file mode 100644 index 000000000000..8dbe9dd36581 --- /dev/null +++ b/test/Sema/surpress-deprecated.c @@ -0,0 +1,7 @@ +// RUN: clang -fsyntax-only -Wno-deprecated-declarations -verify %s +extern void OldFunction() __attribute__((deprecated)); + +int main (int argc, const char * argv[]) { + OldFunction(); +} + |