[cfe-commits] r47840 - /cfe/trunk/test/Sema/deprecated.c
Gabor Greif
ggreif at gmail.com
Mon Mar 3 06:30:40 PST 2008
Author: ggreif
Date: Mon Mar 3 08:30:39 2008
New Revision: 47840
URL: http://llvm.org/viewvc/llvm-project?rev=47840&view=rev
Log:
Chris added this testcase with r47837. The mail only shows one todo-warning but I see 3. Strangeness. Correcting lines 16 and 24.
Modified:
cfe/trunk/test/Sema/deprecated.c
Modified: cfe/trunk/test/Sema/deprecated.c
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/test/Sema/deprecated.c?rev=47840&r1=47839&r2=47840&view=diff
==============================================================================
--- cfe/trunk/test/Sema/deprecated.c (original)
+++ cfe/trunk/test/Sema/deprecated.c Mon Mar 3 08:30:39 2008
@@ -13,7 +13,7 @@
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 @@
// 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}}
}
More information about the cfe-commits
mailing list