• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download

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