Add the test that I intended to submit with r130055, but forgot to add.

Apologies.

llvm-svn: 130291
This commit is contained in:
Chandler Carruth 2011-04-27 05:25:42 +00:00
parent 33477fdfd5
commit 938e4a89dd
1 changed files with 6 additions and 0 deletions

View File

@ -0,0 +1,6 @@
// RUN: %clang_cc1 -fsyntax-only -fdeprecated-macro -verify %s
// RUN: %clang_cc1 -fsyntax-only -Werror %s
#ifdef __DEPRECATED
#warning This file is deprecated. // expected-warning {{This file is deprecated.}}
#endif