xref: /third_party/ltp/metadata/tests/array_size03.c
  • Home
  • History
  • Annotate Annotate
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
  • only in /third_party/ltp/metadata/tests/
1f08c3bdfSopenharmony_cistatic struct foo variants[] = {
2f08c3bdfSopenharmony_ci#ifdef FOO
3f08c3bdfSopenharmony_ci	{.bar = 11},
4f08c3bdfSopenharmony_ci#endif
5f08c3bdfSopenharmony_ci	{.bar = 10},
6f08c3bdfSopenharmony_ci};
7f08c3bdfSopenharmony_ci
8f08c3bdfSopenharmony_cistatic struct tst_test test = {
9f08c3bdfSopenharmony_ci	.test_variants = ARRAY_SIZE(variants),
10f08c3bdfSopenharmony_ci};
11

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