llvm-project/clang/test/CodeGenCXX/debug-info-flex-member.cpp

10 lines
230 B
C++

// RUN: %clang_cc1 -emit-llvm -g -triple x86_64-apple-darwin %s -o - | FileCheck %s
// CHECK: metadata !{i32 {{.*}}, i64 0, i64 -1} ; [ DW_TAG_subrange_type ]
struct StructName {
int member[];
};
struct StructName SN;