1 // RUN: %clang_cc1 -g -emit-llvm < %s | FileCheck %s 2 // Two variables with same name in separate scope. 3 // Radar 8330217. 4 int main() { 5 int j = 0; 6 int k = 0; 7 // CHECK: DW_TAG_auto_variable ] [i] 8 // CHECK-NEXT: DW_TAG_lexical_block 9 for (int i = 0; i < 10; i++) 10 j++; 11 // CHECK: DW_TAG_auto_variable ] [i] 12 // CHECK-NEXT: DW_TAG_lexical_block 13 for (int i = 0; i < 10; i++) 14 k++; 15 return 0; 16 } 17