Eric Christopher | da3301e | 2012-10-18 21:52:18 +0000 | [diff] [blame] | 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 | |||||
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: metadata !{i32 4, i32 20, |