]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/blob - test/CodeGen/debug-info-vector.c
Vendor import of clang trunk r238337:
[FreeBSD/FreeBSD.git] / test / CodeGen / debug-info-vector.c
1 // RUN: %clang_cc1 -emit-llvm -g %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, align: 128
10 // CHECK-SAME:             DIFlagVector
11 // CHECK: ![[INT]] = !DIBasicType(name: "int"