[LLVM][IR] Use splat syntax when printing ConstantExpr based splats. (#116856)
[llvm-project.git] / clang / test / CodeGen / mips-debug-info-bitfield.c
bloba0e2ed9cde8687e4e3abfb01586876575978c6f3
1 // RUN: %clang_cc1 -x c -debug-info-kind=limited -triple mips-none-linux-gnu -emit-llvm -o - %s | FileCheck %s
3 struct fields
5 unsigned a : 4;
6 unsigned b : 4;
7 } flags;
9 // CHECK: !DIDerivedType(tag: DW_TAG_member,
10 // CHECK-SAME: {{.*}}name: "a"
11 // CHECK-NOT: {{.*}}offset:
12 // CHECK-SAME: {{.*}}flags: DIFlagBitField
14 // CHECK: !DIDerivedType(tag: DW_TAG_member,
15 // CHECK-SAME: {{.*}}name: "b"
16 // CHECK-SAME: {{.*}}offset: 4
17 // CHECK-SAME: {{.*}}flags: DIFlagBitField