| 1 | // RUN: %clang_cc1 -emit-llvm -debug-info-kind=limited %s -o - | FileCheck %s |
|---|---|
| 2 | typedef int v4si __attribute__((__vector_size__(16))); |
| 3 | |
| 4 | v4si a; |
| 5 | |
| 6 | // Test that we get an array type that's also a vector out of debug. |
| 7 | // CHECK: !DICompositeType(tag: DW_TAG_array_type, |
| 8 | // CHECK-SAME: baseType: ![[INT:[0-9]+]] |
| 9 | // CHECK-SAME: size: 128 |
| 10 | // CHECK-SAME: DIFlagVector |
| 11 | // CHECK: ![[INT]] = !DIBasicType(name: "int" |
| 12 |