You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
16 lines
564 B
16 lines
564 B
// RUN: %clang -target x86_64-unknown-unknown -fverbose-asm -g -O0 -S -emit-llvm %s -o - | FileCheck %s
|
|
// <rdar://problem/12566646>
|
|
|
|
class A {
|
|
int x[];
|
|
};
|
|
A a;
|
|
|
|
// CHECK: !DIDerivedType(tag: DW_TAG_member, name: "x"
|
|
// CHECK-SAME: baseType: [[ARRAY_TYPE:![0-9]+]]
|
|
// CHECK: [[ARRAY_TYPE]] = !DICompositeType(tag: DW_TAG_array_type,
|
|
// CHECK-NOT: size:
|
|
// CHECK-SAME: elements: [[ELEM_TYPE:![0-9]+]]
|
|
// CHECK: [[ELEM_TYPE]] = !{[[SUBRANGE:.*]]}
|
|
// CHECK: [[SUBRANGE]] = !DISubrange(count: -1)
|