summaryrefslogtreecommitdiff
path: root/gcc/testsuite/gcc.dg/pr52862.c
blob: febe7a8289b12f0d73138a436968940dec57b4e6 (plain)
1
2
3
4
5
6
7
8
9
/* { dg-do compile } */
/* { dg-options "-O" } */

void ASMAtomicWritePtrVoid(const void *pv);
void rtThreadDestroy(void)
{
  void * const pvTypeChecked = ((void *)0);
  ASMAtomicWritePtrVoid((void *)(pvTypeChecked));
}