summaryrefslogtreecommitdiff
path: root/gcc/testsuite/gcc.target/arm/atomic_loaddi_relaxed.x
blob: 701b3c42c09b6bcd0add779c29321674921a95e5 (plain)
1
2
3
4
5
6
7
8
9
10
11
#include <stdatomic.h>

atomic_ullong foo;
int glob;

int
main (void)
{
  atomic_load_explicit (&foo, memory_order_relaxed);
  return glob;
}