blob: aa00e15506ad4be6db6fe0144cbfd2c381d1d226 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
|
/* { dg-do compile } */
/* { dg-options "-O2" } */
struct shared_ptr_struct
{
unsigned long phase : 48;
unsigned thread : 16;
void *addr;
} x;
void foo (void)
{
x.thread = 2;
}
|