xref: /third_party/ltp/tools/sparse/sparse-src/validation/knr-attr-crash.c (revision f08c3bdf)
  • Home
  • History
  • Annotate Annotate
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
  • only in /third_party/ltp/tools/sparse/sparse-src/validation/
1f08c3bdfSopenharmony_citypedef int word;
2f08c3bdfSopenharmony_ci
3f08c3bdfSopenharmony_civoid foo(word x);
4f08c3bdfSopenharmony_ci
5f08c3bdfSopenharmony_civoid foo(x)
6f08c3bdfSopenharmony_ci	word x;
7f08c3bdfSopenharmony_ci{ }
8f08c3bdfSopenharmony_ci
9f08c3bdfSopenharmony_ci/*
10f08c3bdfSopenharmony_ci * check-name: knr-attr-crash
11f08c3bdfSopenharmony_ci * check-command: sparse -Wno-old-style-definition $file
12f08c3bdfSopenharmony_ci */
13

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