aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--test/Analysis/dead-stores.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/test/Analysis/dead-stores.c b/test/Analysis/dead-stores.c
index 208cd74510..381bfcb2cf 100644
--- a/test/Analysis/dead-stores.c
+++ b/test/Analysis/dead-stores.c
@@ -72,4 +72,10 @@ int f10() {
return 1;
}
+int f11() {
+ int x = 4;
+ return ++x; // no-warning
+}
+
+