1f08c3bdfSopenharmony_cistruct bf2 { 2f08c3bdfSopenharmony_ci unsigned p1:2; 3f08c3bdfSopenharmony_ci unsigned i1:32; 4f08c3bdfSopenharmony_ci unsigned p2:2; 5f08c3bdfSopenharmony_ci unsigned s9:9; 6f08c3bdfSopenharmony_ci unsigned s9:9; 7f08c3bdfSopenharmony_ci unsigned s9:9; 8f08c3bdfSopenharmony_ci unsigned b1:1; 9f08c3bdfSopenharmony_ci} __attribute__((packed)); 10f08c3bdfSopenharmony_ci 11f08c3bdfSopenharmony_ci_Static_assert(sizeof(struct bf2) == 8); 12f08c3bdfSopenharmony_ci 13f08c3bdfSopenharmony_ci/* 14f08c3bdfSopenharmony_ci * check-name: packed-bitfield2 15f08c3bdfSopenharmony_ci */ 16