blob: 542bc2d958ee45b39583c5b9e1fcf95d054e880f [file] [log] [blame]
// RUN: %clang_cc1 -std=c++11 -Wuninitialized -verify %s
// expected-no-diagnostics
void f() {
int a[] = { 1, 2, 3 };
unsigned int u = 0;
for (auto x : a)
;
}