[clang] Implement lifetime analysis for lifetime_capture_by(X) (#115921)
[llvm-project.git] / clang / test / CodeGen / debug-info-line4.c
blob3c99fc5521175336121cd4ab54c40737e909ce8d
1 // RUN: %clang %s -g -gcolumn-info -S -emit-llvm -o - | FileCheck %s
2 // Checks that clang emits column information when -gcolumn-info is passed.
4 int foo(int a, int b) { int c = a + b;
7 return c;
10 // Without column information we wouldn't change locations for b.
11 // CHECK: !DILocation(line: 4, column: 20,