1 /* { dg-do run { target aarch64*-*-* } } */
2 /* { dg-options "-O2 --save-temps -fno-inline" } */
3 /* { dg-require-effective-target aarch64_little_endian } */
5 extern void abort (void);
7 typedef struct bitfield
9 unsigned short eight1
: 8;
10 unsigned short four
: 4;
11 unsigned short eight2
: 8;
12 unsigned short seven
: 7;
13 unsigned int sixteen
: 16;
19 /* { dg-final { scan-assembler "bfxil\tx\[0-9\]+, x\[0-9\]+, 16, 8" } } */
34 if (b
.eight1
!= a
.eight2
)