1/* { dg-require-effective-target int32plus } */
2extern void abort (void);
3
4struct s
5{
6  unsigned long long a:16;
7  unsigned long long b:32;
8  unsigned long long c:16;
9};
10
11__attribute__ ((noinline)) unsigned
12f (struct s s, unsigned i)
13{
14  return s.b == i;
15}
16
17struct s s = { 1, 0x87654321u, 2};
18
19int
20main ()
21{
22  if (!f (s, 0x87654321u))
23    abort ();
24  return 0;
25}
26