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