blob: 3c99fc5521175336121cd4ab54c40737e909ce8d [file] [log] [blame]
Eric Christophera2f7eb72012-10-18 21:52:18 +00001// RUN: %clang %s -g -gcolumn-info -S -emit-llvm -o - | FileCheck %s
2// Checks that clang emits column information when -gcolumn-info is passed.
3
4int foo(int a, int b) { int c = a + b;
5
6
7 return c;
8}
9
10// Without column information we wouldn't change locations for b.
Duncan P. N. Exon Smith9dd4e4e2015-04-29 16:40:08 +000011// CHECK: !DILocation(line: 4, column: 20,