summaryrefslogtreecommitdiff
path: root/clang/test/Analysis/PR9741.cpp
blob: 7497d5627c918d97d1d6a27e41730f3e2c80be80 (about) (plain)
1
2
3
4
5
6
7
8
// RUN: %clang_cc1 -cc1 -std=c++11 -Wuninitialized -verify %s

void f() {
  int a[] = { 1, 2, 3 };
  unsigned int u = 0;
  for (auto x : a)
    ;
}