1 // RUN: %clang_cc1 -emit-llvm -g %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:.*]] = !DISubprogram(name: "bar",
9 // CHECK-SAME: file: [[HPP]], line: 22
10 // CHECK-SAME: isDefinition: true
11 // We shouldn't need a lexical block for this function.
12 // CHECK: [[DBG]] = !DILocation(line: 23, scope: [[SP]])
26 int main (int argc, const char * argv[])