summaryrefslogtreecommitdiff
path: root/gcc/testsuite/gcc.target/arm/synchronize.c
blob: 8626d8ee0a3ac3989589b4052be93f22453f6fd4 (plain)
1
2
3
4
5
6
/* { dg-final { scan-assembler "__sync_synchronize|dmb|mcr" { target arm*-*-linux-*eabi } } } */

void *foo (void)
{
  __sync_synchronize();
}