1 /* { dg-do compile } */
2 /* { dg-options "isa_rev>=2 -mgp64" } */
3 /* { dg-skip-if "code quality test" { *-*-* } { "-O0" } { "" } } */
4 /* { dg-final { scan-assembler "\tdext\t" } } */
5 /* { dg-final { scan-assembler-not "\tand" } } */
6 
7 struct
8 {
9   unsigned long long a:9;
10   unsigned long long d:35;
11   unsigned long long e:10;
12   unsigned long long f:10;
13 } t;
14 
15 NOMIPS16 unsigned long long
f(void)16 f (void)
17 {
18    return t.d;
19 }
20