From: Eric Christopher Date: Wed, 23 May 2012 00:18:43 +0000 (+0000) Subject: Check that we have an unknown upper bound range for our flexible array members. X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=843efd5d5dac7912803d5225a4c92b87bc815df3;p=clang Check that we have an unknown upper bound range for our flexible array members. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@157305 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/test/CodeGenCXX/debug-info-vla-range.cpp b/test/CodeGenCXX/debug-info-vla-range.cpp index 476bf2285e..b6aa6dac6b 100644 --- a/test/CodeGenCXX/debug-info-vla-range.cpp +++ b/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[];