xref: /third_party/ltp/tools/sparse/sparse-src/validation/declaration-after-statement-c99.c (revision f08c3bdf)
  • Home
  • History
  • Annotate Annotate
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
  • only in /third_party/ltp/tools/sparse/sparse-src/validation/
1f08c3bdfSopenharmony_cistatic void func (int i)
2f08c3bdfSopenharmony_ci{
3f08c3bdfSopenharmony_ci	i;
4f08c3bdfSopenharmony_ci	int j = i;
5f08c3bdfSopenharmony_ci}
6f08c3bdfSopenharmony_ci/*
7f08c3bdfSopenharmony_ci * check-name: declaration after statement (C99)
8f08c3bdfSopenharmony_ci * check-command: sparse -std=c99 $file
9f08c3bdfSopenharmony_ci */
10

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