summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorEric Christopher <echristo@apple.com>2012-05-23 00:18:43 +0000
committerEric Christopher <echristo@apple.com>2012-05-23 00:18:43 +0000
commit41f556b709d2fed9a481d6d244b6e230bcc55ad6 (patch)
treedd99f6fb73b72f010bd5ad4fe21e565756f1d391
parenta91af14b8d61d070bf9c2935167ebacbeb9f3eee (diff)
downloadbcm5719-llvm-41f556b709d2fed9a481d6d244b6e230bcc55ad6.tar.gz
bcm5719-llvm-41f556b709d2fed9a481d6d244b6e230bcc55ad6.zip
Check that we have an unknown upper bound range for our flexible array members.
llvm-svn: 157305
-rw-r--r--clang/test/CodeGenCXX/debug-info-vla-range.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/clang/test/CodeGenCXX/debug-info-vla-range.cpp b/clang/test/CodeGenCXX/debug-info-vla-range.cpp
index 476bf2285ef..b6aa6dac6bc 100644
--- a/clang/test/CodeGenCXX/debug-info-vla-range.cpp
+++ b/clang/test/CodeGenCXX/debug-info-vla-range.cpp
@@ -1,6 +1,6 @@
// RUN: %clang_cc1 -emit-llvm -g -triple x86_64-apple-darwin %s -o - | FileCheck %s
-// CHECK: DW_TAG_subrange_type
+// CHECK: metadata !{i32 {{.*}}, i64 1, i64 0} ; [ DW_TAG_subrange_type ]
struct StructName {
int member[];
OpenPOWER on IntegriCloud