From: Ted Kremenek Date: Tue, 31 Mar 2009 03:34:38 +0000 (+0000) Subject: Update test case. X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=28433ff063fe5ba5eac486d4bfcfa9e210097772;p=clang Update test case. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@68084 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/test/Analysis/dead-stores.c b/test/Analysis/dead-stores.c index d632c695a9..c100344adf 100644 --- a/test/Analysis/dead-stores.c +++ b/test/Analysis/dead-stores.c @@ -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; }