1f08c3bdfSopenharmony_cistruct st; 2f08c3bdfSopenharmony_ci 3f08c3bdfSopenharmony_cistatic int foo(int a) 4f08c3bdfSopenharmony_ci{ 5f08c3bdfSopenharmony_ci return (struct/st *) a; 6f08c3bdfSopenharmony_ci} 7f08c3bdfSopenharmony_ci/* 8f08c3bdfSopenharmony_ci * check-name: Bad cast syntax 9f08c3bdfSopenharmony_ci * 10f08c3bdfSopenharmony_ci * check-error-start 11f08c3bdfSopenharmony_cibad-cast.c:5:23: error: expected declaration 12f08c3bdfSopenharmony_cibad-cast.c:5:23: error: Expected ) at end of cast operator 13f08c3bdfSopenharmony_cibad-cast.c:5:23: error: got / 14f08c3bdfSopenharmony_ci * check-error-end 15f08c3bdfSopenharmony_ci */ 16