1f08c3bdfSopenharmony_cistatic long p2l(long *p)
2f08c3bdfSopenharmony_ci{
3f08c3bdfSopenharmony_ci	return (long) p;
4f08c3bdfSopenharmony_ci}
5f08c3bdfSopenharmony_ci
6f08c3bdfSopenharmony_cistatic long *l2p(long l)
7f08c3bdfSopenharmony_ci{
8f08c3bdfSopenharmony_ci	return (long*)l;
9f08c3bdfSopenharmony_ci}
10f08c3bdfSopenharmony_ci
11f08c3bdfSopenharmony_ci/*
12f08c3bdfSopenharmony_ci * check-name: cast-nop
13f08c3bdfSopenharmony_ci * check-command: test-linearize -Wno-decl $file
14f08c3bdfSopenharmony_ci *
15f08c3bdfSopenharmony_ci * check-output-ignore
16f08c3bdfSopenharmony_ci * check-output-excludes: utptr\\.
17f08c3bdfSopenharmony_ci * check-output-excludes: ptrtu\\.
18f08c3bdfSopenharmony_ci */
19