Test that we emit a subrange type for vlas.

Part of rdar://11457152

llvm-svn: 157269
This commit is contained in:
Eric Christopher 2012-05-22 18:04:48 +00:00
parent 011a363c85
commit 8b3304da56
1 changed files with 9 additions and 0 deletions

View File

@ -0,0 +1,9 @@
// RUN: %clang_cc1 -emit-llvm -g -triple x86_64-apple-darwin %s -o - | FileCheck %s
// CHECK: DW_TAG_subrange_type
struct StructName {
int member[];
};
struct StructName SN;