blob: 555b17d9ac69d1cd50d7d033ddc7025359646ff2 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
|
struct a
{
unsigned int bitfield : 3;
};
int main()
{
struct a a;
a.bitfield = 131;
foo (a.bitfield);
exit (0);
}
foo(unsigned int z)
{
if (z != 3)
abort ();
}
|