David Blaikie | 8326106 | 2012-04-15 22:09:44 +0000 | [diff] [blame] | 1 | // RUN: %clang_cc1 -fsyntax-only -Wno-deprecated-declarations -verify %s |
Andy Gibbs | c6e68da | 2012-10-19 12:44:48 +0000 | [diff] [blame] | 2 | // expected-no-diagnostics |
Steve Naroff | 1bf3b71 | 2009-03-31 17:28:26 +0000 | [diff] [blame] | 3 | extern void OldFunction() __attribute__((deprecated)); |
4 | |||||
5 | int main (int argc, const char * argv[]) { | ||||
6 | OldFunction(); | ||||
7 | } | ||||
8 |