llvm-project/clang/test/CodeGenCXX/debug-info-var-template-par...

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

14 lines
366 B
C++
Raw Normal View History

// RUN: %clang_cc1 %s -std=c++14 -debug-info-kind=limited -emit-llvm -o - | FileCheck %s
// CHECK: ![[empty:[0-9]+]] = !{}
// CHECK: distinct !DICompositeType(tag: DW_TAG_structure_type, name: "B",
// CHECK-SAME: elements: ![[empty]]
struct B {
template <typename... e>
static const int d = 0;
template <typename e>
static const auto d<e> = d<e, e>;
} c;