blob: 80afd3809c3abd24135fb36b757ace9f41ba3112 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
|
struct S
{
signed f0 : 16;
unsigned f1 : 1;
};
int b;
static struct S c[] = {{-1, 0}, {-1, 0}};
struct S d;
int
main ()
{
struct S e = c[0];
d = e;
if (d.f1 != 0)
__builtin_abort ();
return 0;
}
|