1 // RUN: %clang_cc1 -debug-info-kind=limited -emit-llvm -o - %s | FileCheck %s
2 // Check that clang emits Debug location in the phi instruction
6 for(a
= 10; a
>0 && n
++; a
--);
11 // CHECK-NEXT: {{.*}} = phi i1 {{.*}} !dbg ![[DbgLoc:[0-9]+]]
13 // CHECK: ![[DbgLoc]] = !DILocation(line: 0