1 // { dg-do run  }
2 // { dg-options "-O" }
3 // { dg-error "limited range of data type" "16-bit target" { target xstormy16-*-* } 0 }
4 // { dg-error "shift count >=" "16-bit target" { target xstormy16-*-* } 0 }
5 
main()6 int main()
7 {
8   unsigned int x = 1381237248;
9 
10   if (sizeof (x) != 4)
11     return 0;
12 
13   x =
14     ({
15       unsigned int y = x;
16       ({
17         unsigned int z = y;
18         (unsigned int)
19           ((((unsigned int)z & (unsigned int)0x000000ffUL) << 24)
20            | (((unsigned int)z & (unsigned int)0x0000ff00UL) << 8)
21            | (((unsigned int)z & (unsigned int)0x00ff0000UL) >> 8)
22            | (((unsigned int)z & (unsigned int)0xff000000UL) >> 24));
23        });
24      });
25   return x != 152658;
26 }
27