blob: 6051e6ed0fe11b03cd9005d328652caf952149fd [file] [log] [blame]
Devang Patel0554e0e2010-08-25 00:28:56 +00001// RUN: %clang_cc1 -g -emit-llvm < %s | FileCheck %s
2// Two variables with same name in separate scope.
3// Radar 8330217.
4int main() {
5 int j = 0;
6 int k = 0;
7// CHECK: DW_TAG_auto_variable
8// CHECK-NEXT: DW_TAG_lexical_block
9 for (int i = 0; i < 10; i++)
10 j++;
11 for (int i = 0; i < 10; i++)
12 k++;
13 return 0;
14}