]> granicus.if.org Git - clang/commitdiff
Check that we have an unknown upper bound range for our flexible array members.
authorEric Christopher <echristo@apple.com>
Wed, 23 May 2012 00:18:43 +0000 (00:18 +0000)
committerEric Christopher <echristo@apple.com>
Wed, 23 May 2012 00:18:43 +0000 (00:18 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@157305 91177308-0d34-0410-b5e6-96231b3b80d8

test/CodeGenCXX/debug-info-vla-range.cpp

index 476bf2285ef35d43f90a09c134f5b15507137f06..b6aa6dac6bce717a4c331eaeaad7cf1a68f3f3e8 100644 (file)
@@ -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[];