aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Stump <mrs@apple.com>2009-07-21 19:01:31 +0000
committerMike Stump <mrs@apple.com>2009-07-21 19:01:31 +0000
commita5495eadc816b29954e22df55aa9a9d6bb41429c (patch)
tree18256d8a881a66b83e9a9042f99d5e04238be536
parentb8a087ed8738c15762d670d40a5a12419f6fc202 (diff)
Prep for new warning.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@76625 91177308-0d34-0410-b5e6-96231b3b80d8
-rw-r--r--test/Analysis/dead-stores.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/Analysis/dead-stores.c b/test/Analysis/dead-stores.c
index f3ff1451be..fb4f73ae07 100644
--- a/test/Analysis/dead-stores.c
+++ b/test/Analysis/dead-stores.c
@@ -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
}