Home | History | Annotate | Download | only in CodeGenCXX
      1 // RUN: %clang -target x86_64-unknown-unknown -fverbose-asm -g -O0 -S -emit-llvm %s -o - | FileCheck %s
      2 // <rdar://problem/12566646>
      3 
      4 class A {
      5   int x[];
      6 };
      7 A a;
      8 
      9 // CHECK: !DIDerivedType(tag: DW_TAG_member, name: "x"
     10 // CHECK-SAME:           baseType: [[ARRAY_TYPE:![0-9]+]]
     11 // CHECK: [[ARRAY_TYPE]] = !DICompositeType(tag: DW_TAG_array_type,
     12 // CHECK-NOT:                               size:
     13 // CHECK-SAME:                              align: 32
     14 // CHECK-SAME:                              elements: [[ELEM_TYPE:![0-9]+]]
     15 // CHECK: [[ELEM_TYPE]] = !{[[SUBRANGE:.*]]}
     16 // CHECK: [[SUBRANGE]] = !DISubrange(count: -1)
     17