Home | History | Annotate | Download | only in SemaCXX
      1 // RUN: %clang_cc1 -fsyntax-only %s -std=c++11 -ast-dump | FileCheck %s
      2 template<typename T>
      3 void f(T t) {
      4   T a[] = {t};
      5   for (auto x : a) {}
      6 }
      7 
      8 void g() {
      9   f(1);
     10 }
     11 // CHECK: VarDecl {{.*}} implicit used __range
     12 // CHECK: VarDecl {{.*}} implicit used __range
     13 // CHECK: VarDecl {{.*}} implicit used __begin
     14 // CHECK: VarDecl {{.*}} implicit used __end
     15