1f08c3bdfSopenharmony_cistatic int array[] = { 2f08c3bdfSopenharmony_ci [1] = 3, 3f08c3bdfSopenharmony_ci [1] = 1, /* check-should-warn */ 4f08c3bdfSopenharmony_ci}; 5f08c3bdfSopenharmony_ci 6f08c3bdfSopenharmony_ci/* 7f08c3bdfSopenharmony_ci * check-name: Woverride-init-def 8f08c3bdfSopenharmony_ci * check-command: sparse $file 9f08c3bdfSopenharmony_ci * 10f08c3bdfSopenharmony_ci * check-error-start 11f08c3bdfSopenharmony_ciWoverride-init-def.c:2:10: warning: Initializer entry defined twice 12f08c3bdfSopenharmony_ciWoverride-init-def.c:3:10: also defined here 13f08c3bdfSopenharmony_ci * check-error-end 14f08c3bdfSopenharmony_ci */ 15