xref: /minix3/external/bsd/llvm/dist/clang/test/CodeGen/debug-info-line4.c (revision 0a6a1f1d05b60e214de2f05a7310ddd1f0e590e7)
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.
3 
foo(int a,int b)4 int 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.
11 // CHECK:  !MDLocation(line: 4, column: 20,
12