Richard Smith | 762bb9d | 2011-10-13 22:29:44 +0000 | [diff] [blame] | 1 | // RUN: %clang_cc1 -cc1 -std=c++11 -Wuninitialized -verify %s |
Richard Smith | b403d6d | 2011-04-18 15:49:25 +0000 | [diff] [blame] | 2 | |
3 | void f() { | ||||
4 | int a[] = { 1, 2, 3 }; | ||||
5 | unsigned int u = 0; | ||||
6 | for (auto x : a) | ||||
7 | ; | ||||
8 | } |