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 (C89)
8f08c3bdfSopenharmony_ci * check-command: sparse -std=c89 $file
9f08c3bdfSopenharmony_ci * check-error-start
10f08c3bdfSopenharmony_cideclaration-after-statement-c89.c:4:9: warning: mixing declarations and code
11f08c3bdfSopenharmony_ci * check-error-end
12f08c3bdfSopenharmony_ci */
13