]> granicus.if.org Git - clang/commitdiff
Prep for new warning.
authorMike Stump <mrs@apple.com>
Tue, 21 Jul 2009 19:01:31 +0000 (19:01 +0000)
committerMike Stump <mrs@apple.com>
Tue, 21 Jul 2009 19:01:31 +0000 (19:01 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@76625 91177308-0d34-0410-b5e6-96231b3b80d8

test/Analysis/dead-stores.c

index f3ff1451beae89684caf71ce91438bca70344010..fb4f73ae07269df98e7218cc3d3fc6bb9a98dd25 100644 (file)
@@ -131,7 +131,7 @@ int f16(int x) {
 }
 
 // Self-assignments should not be flagged as dead stores.
-int f17() {
+void f17() {
   int x = 1;
   x = x; // no-warning
 }