]> granicus.if.org Git - clang/commitdiff
Chris added this testcase with r47837. The mail only shows one todo-warning but I...
authorGabor Greif <ggreif@gmail.com>
Mon, 3 Mar 2008 14:30:39 +0000 (14:30 +0000)
committerGabor Greif <ggreif@gmail.com>
Mon, 3 Mar 2008 14:30:39 +0000 (14:30 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@47840 91177308-0d34-0410-b5e6-96231b3b80d8

test/Sema/deprecated.c

index 0c59ea7a053aa0cfc5849b19157f721c1d81d0bd..f018c3356fc489e812034d6156a477ad01d9d91b 100644 (file)
@@ -13,7 +13,7 @@ int a() {
   f(); // expected-warning {{'f' is deprecated}}
 
   // test if attributes propagate to functions
-  g(); // todo-warning {{'g' is deprecated}}
+  g(); // expected-warning {{'g' is deprecated}}
 
   return var; // expected-warning {{'var' is deprecated}}
 }
@@ -21,5 +21,5 @@ int a() {
 // test if attributes propagate to variables
 extern int var;
 int w() {
-       return var; // todo-warning {{'var' is deprecated}}
+       return var; // expected-warning {{'var' is deprecated}}
 }