debug-info-var-template-partial-spec.cpp
366 Bytes
// 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;