xref: /third_party/ltp/tools/sparse/sparse-src/validation/packed-bitfield2.c (revision f08c3bdf)
  • Home
  • History
  • Annotate Annotate
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
  • only in /third_party/ltp/tools/sparse/sparse-src/validation/
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

Indexes created Thu Nov 07 10:32:03 CST 2024