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

10 lines
203 B
C++
Raw Normal View History

// RUN: %clang_cc1 -emit-llvm -debug-info-kind=limited -triple x86_64-apple-darwin %s -o - | FileCheck %s
// CHECK: !DISubrange(count: -1)
struct StructName {
int member[];
};
struct StructName SN;