1 // RUN: %clang_cc1 -emit-llvm -debug-info-kind=limited %s -o - | FileCheck %s
2 // Test that the line table info for Foo<T>::bar() is pointing to the
4 // CHECK: define{{.*}}bar
6 // CHECK: ret {{.*}}, !dbg [[DBG:.*]]
7 // CHECK: [[HPP:.*]] = !DIFile(filename: "./template.hpp",
8 // CHECK: [[SP:.*]] = distinct !DISubprogram(name: "bar",
9 // CHECK-SAME: file: [[HPP]], line: 22
10 // CHECK-SAME: DISPFlagDefinition
11 // We shouldn't need a lexical block for this function.
12 // CHECK: [[DBG]] = !DILocation(line: 23, column: 3, scope: [[SP]])
26 int main (int argc
, const char * argv
[])