r141345 also fixed a -Wuninitialized bug where loop conditions were not always flagged as being uninitialized.  Addresses <rdar://problem/9432305>.

llvm-svn: 141346
diff --git a/clang/test/Sema/uninit-variables.c b/clang/test/Sema/uninit-variables.c
index bcffbd6..f716124 100644
--- a/clang/test/Sema/uninit-variables.c
+++ b/clang/test/Sema/uninit-variables.c
@@ -404,4 +404,10 @@
   }
 }
 
+// Test uninitialized value used in loop condition.
+void rdar9432305(float *P) {
+  int i; // expected-note {{initialize the variable 'i' to silence this warning}}
+  for (; i < 10000; ++i) // expected-warning {{variable 'i' is uninitialized when used here}}
+    P[i] = 0.0f;
+}