1f08c3bdfSopenharmony_civoid foo(void *ptr, _Bool *bptr, volatile void *vptr, volatile _Bool *vbptr, int mo)
2f08c3bdfSopenharmony_ci{
3f08c3bdfSopenharmony_ci	__atomic_clear(ptr, mo);
4f08c3bdfSopenharmony_ci	__atomic_clear(bptr, mo);
5f08c3bdfSopenharmony_ci	__atomic_clear(vptr, mo);
6f08c3bdfSopenharmony_ci	__atomic_clear(vbptr, mo);
7f08c3bdfSopenharmony_ci}
8f08c3bdfSopenharmony_ci
9f08c3bdfSopenharmony_ci/*
10f08c3bdfSopenharmony_ci * check-name: builtin-atomic-clear
11f08c3bdfSopenharmony_ci *
12f08c3bdfSopenharmony_ci * check-error-start
13f08c3bdfSopenharmony_cibuiltin-atomic-clear.c:1:6: warning: symbol 'foo' was not declared. Should it be static?
14f08c3bdfSopenharmony_ci * check-error-end
15f08c3bdfSopenharmony_ci */
16