1*67e74705SXin Li // RUN: %clang %s -g -gcolumn-info -S -emit-llvm -o - | FileCheck %s 2*67e74705SXin Li // Checks that clang emits column information when -gcolumn-info is passed. 3*67e74705SXin Li foo(int a,int b)4*67e74705SXin Liint foo(int a, int b) { int c = a + b; 5*67e74705SXin Li 6*67e74705SXin Li 7*67e74705SXin Li return c; 8*67e74705SXin Li } 9*67e74705SXin Li 10*67e74705SXin Li // Without column information we wouldn't change locations for b. 11*67e74705SXin Li // CHECK: !DILocation(line: 4, column: 20, 12