mirror of
https://github.com/llvm/llvm-project.git
synced 2025-04-25 19:06:05 +00:00

It looks like this array was missed in 4276d4a8d08b7640eb57cabf6988a5cf65b228b6 Fixed tests that expected `elements` to be empty or depeneded on the order of the empty DINode. Reviewed By: aprantl Differential Revision: https://reviews.llvm.org/D107024
14 lines
366 B
C++
14 lines
366 B
C++
// RUN: %clang_cc1 %s -std=c++14 -debug-info-kind=limited -emit-llvm -o - | FileCheck %s
|
|
|
|
|
|
// CHECK: distinct !DICompositeType(tag: DW_TAG_structure_type, name: "B",
|
|
// CHECK-SAME: elements: ![[empty:[0-9]+]]
|
|
// CHECK: ![[empty]] = !{}
|
|
|
|
struct B {
|
|
template <typename... e>
|
|
static const int d = 0;
|
|
template <typename e>
|
|
static const auto d<e> = d<e, e>;
|
|
} c;
|