xref: /third_party/ltp/tools/sparse/sparse-src/validation/usual-conv-lp32.c (revision f08c3bdf)
  • Home
  • History
  • Annotate Annotate
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
  • only in /third_party/ltp/tools/sparse/sparse-src/validation/
1f08c3bdfSopenharmony_ciextern long l;
2f08c3bdfSopenharmony_ciextern unsigned int u;
3f08c3bdfSopenharmony_ci
4f08c3bdfSopenharmony_ci#if __SIZEOF_LONG__ == __SIZEOF_INT__
5f08c3bdfSopenharmony_ci_Static_assert([typeof(l + u)] == [unsigned long], "ulong");
6f08c3bdfSopenharmony_ci#endif
7f08c3bdfSopenharmony_ci
8f08c3bdfSopenharmony_ci/*
9f08c3bdfSopenharmony_ci * check-name: usual-conversions
10f08c3bdfSopenharmony_ci * check-command: sparse -m32 $file
11f08c3bdfSopenharmony_ci */
12

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