summaryrefslogtreecommitdiff
path: root/test/CodeGenCXX/debug-info-flex-member.cpp
blob: 7f54415e1e28a7cbb50b7ed49c94188886494d87 (plain)
1
2
3
4
5
6
7
8
9
// RUN: %clang_cc1 -emit-llvm -g -triple x86_64-apple-darwin %s -o - | FileCheck %s

// CHECK: metadata !{metadata !"0x21\000\00-1"}        ; [ DW_TAG_subrange_type ]

struct StructName {
  int member[];
};

struct StructName SN;