2012-12-04 15:33:40 +08:00
|
|
|
// RUN: %clang -target x86_64-unknown-unknown -fverbose-asm -g -O0 -S -emit-llvm %s -o - | FileCheck %s
|
2012-12-04 14:21:27 +08:00
|
|
|
// <rdar://problem/12566646>
|
|
|
|
|
|
|
|
class A {
|
|
|
|
int x[];
|
|
|
|
};
|
|
|
|
A a;
|
|
|
|
|
2015-04-30 00:40:08 +08:00
|
|
|
// CHECK: !DIDerivedType(tag: DW_TAG_member, name: "x"
|
2015-03-04 01:25:55 +08:00
|
|
|
// CHECK-SAME: baseType: [[ARRAY_TYPE:![0-9]+]]
|
2015-04-30 00:40:08 +08:00
|
|
|
// CHECK: [[ARRAY_TYPE]] = !DICompositeType(tag: DW_TAG_array_type,
|
2015-03-04 01:25:55 +08:00
|
|
|
// CHECK-NOT: size:
|
|
|
|
// CHECK-SAME: elements: [[ELEM_TYPE:![0-9]+]]
|
2014-12-16 03:10:08 +08:00
|
|
|
// CHECK: [[ELEM_TYPE]] = !{[[SUBRANGE:.*]]}
|
2015-04-30 00:40:08 +08:00
|
|
|
// CHECK: [[SUBRANGE]] = !DISubrange(count: -1)
|