aboutsummaryrefslogtreecommitdiff
path: root/test/CodeGen/debug-info-line4.c
blob: 3c99fc5521175336121cd4ab54c40737e909ce8d (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
// RUN: %clang %s -g -gcolumn-info -S -emit-llvm -o - | FileCheck %s
// Checks that clang emits column information when -gcolumn-info is passed.

int foo(int a, int b) { int c = a + b;


  return c;
}

// Without column information we wouldn't change locations for b.
// CHECK:  !DILocation(line: 4, column: 20,