aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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
}