1 // RUN: %clang_cc1 -fsyntax-only -verify %s -std=c++11 -Wunused
3 // PR9968: We used to warn that __range is unused in a dependent for-range.
8 int a
; // expected-warning {{unused variable 'a'}}
10 for (auto& e
: elements
) // expected-warning {{unused variable 'e'}}
18 int main(int, char**) {
20 vector
.doIt(); // expected-note {{here}}