blob: 496999613137c495702547bf0680e983ef3a89b3 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
|
// PR c++/26534
// { dg-do run }
// { dg-options "-w -O2" }
struct X
{
unsigned a:4;
};
unsigned i;
int main()
{
struct X x = { 63u };
i = x.a;
if (i != 15)
return 1;
}
|