summaryrefslogtreecommitdiffstats
path: root/clang/test/CodeGenCXX/debug-info-flex-member.cpp
diff options
context:
space:
mode:
authorEric Christopher <echristo@apple.com>2012-05-23 00:18:46 +0000
committerEric Christopher <echristo@apple.com>2012-05-23 00:18:46 +0000
commit9cc59f66ad1aff632887a439bb7cb1f123a7b0f7 (patch)
treed8c9675ebb6011c0ebbc9194adfeae310318961c /clang/test/CodeGenCXX/debug-info-flex-member.cpp
parent41f556b709d2fed9a481d6d244b6e230bcc55ad6 (diff)
downloadbcm5719-llvm-9cc59f66ad1aff632887a439bb7cb1f123a7b0f7.tar.gz
bcm5719-llvm-9cc59f66ad1aff632887a439bb7cb1f123a7b0f7.zip
Move file to be more representative.
llvm-svn: 157306
Diffstat (limited to 'clang/test/CodeGenCXX/debug-info-flex-member.cpp')
-rw-r--r--clang/test/CodeGenCXX/debug-info-flex-member.cpp9
1 files changed, 9 insertions, 0 deletions
diff --git a/clang/test/CodeGenCXX/debug-info-flex-member.cpp b/clang/test/CodeGenCXX/debug-info-flex-member.cpp
new file mode 100644
index 00000000000..b6aa6dac6bc
--- /dev/null
+++ b/clang/test/CodeGenCXX/debug-info-flex-member.cpp
@@ -0,0 +1,9 @@
+// RUN: %clang_cc1 -emit-llvm -g -triple x86_64-apple-darwin %s -o - | FileCheck %s
+
+// CHECK: metadata !{i32 {{.*}}, i64 1, i64 0} ; [ DW_TAG_subrange_type ]
+
+struct StructName {
+ int member[];
+};
+
+struct StructName SN;
OpenPOWER on IntegriCloud