1f08c3bdfSopenharmony_ciint c99(void);
2f08c3bdfSopenharmony_ciint c99(void)
3f08c3bdfSopenharmony_ci{
4f08c3bdfSopenharmony_ci	int r = -1;
5f08c3bdfSopenharmony_ci
6f08c3bdfSopenharmony_ci	for (int i = 0; i < 10; i++) {
7f08c3bdfSopenharmony_ci		r = i;
8f08c3bdfSopenharmony_ci	}
9f08c3bdfSopenharmony_ci
10f08c3bdfSopenharmony_ci	return r;
11f08c3bdfSopenharmony_ci}
12f08c3bdfSopenharmony_ci
13f08c3bdfSopenharmony_ci/*
14f08c3bdfSopenharmony_ci * check-name: C99 for loop variable declaration
15f08c3bdfSopenharmony_ci * check-command: test-linearize $file
16f08c3bdfSopenharmony_ci *
17f08c3bdfSopenharmony_ci * check-output-ignore
18f08c3bdfSopenharmony_ci * check-output-contains: phisrc\\.
19f08c3bdfSopenharmony_ci * check-output-contains: phi\\.
20f08c3bdfSopenharmony_ci * check-output-contains: add\\.
21f08c3bdfSopenharmony_ci */
22