]> granicus.if.org Git - clang/commitdiff
Update test case.
authorTed Kremenek <kremenek@apple.com>
Tue, 31 Mar 2009 03:34:38 +0000 (03:34 +0000)
committerTed Kremenek <kremenek@apple.com>
Tue, 31 Mar 2009 03:34:38 +0000 (03:34 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@68084 91177308-0d34-0410-b5e6-96231b3b80d8

test/Analysis/dead-stores.c

index d632c695a90daa19f33cf382ba5c36e2e2d92c4f..c100344adf6d7ee0bd63162192c3b6666d5628ee 100644 (file)
@@ -161,9 +161,9 @@ int f19(void) {
   return x;
 }
 
-int f19b(void) { // FIXME: Should this case be considered the same as f19?
+int f19b(void) { // This case is the same as f19.
   const int MyConstant = 0;
-  int x = MyConstant; // expected-warning{{never read}}
+  int x = MyConstant; // no-warning
   x = 1;
   return x;  
 }