1f08c3bdfSopenharmony_cistatic int *a = (int*)0;	// OK
2f08c3bdfSopenharmony_cistatic int b = 0;
3f08c3bdfSopenharmony_cistatic int *c = (int*)b;	// KO
4f08c3bdfSopenharmony_ci
5f08c3bdfSopenharmony_ci
6f08c3bdfSopenharmony_ci/*
7f08c3bdfSopenharmony_ci * check-name: constexprness integer literal cast to pointer type
8f08c3bdfSopenharmony_ci * check-command: sparse -Wconstexpr-not-const $file
9f08c3bdfSopenharmony_ci *
10f08c3bdfSopenharmony_ci * check-error-start
11f08c3bdfSopenharmony_ciconstexpr-pointer-cast.c:3:18: warning: non-constant initializer for static object
12f08c3bdfSopenharmony_ci * check-error-end
13f08c3bdfSopenharmony_ci */
14