1 /* { dg-do compile } */
2 /* { dg-require-effective-target arm_arch_v7ve_ok } */
3 /* { dg-options "-O2" } */
4 /* { dg-add-options arm_arch_v7ve } */
5 
6 #include <stdatomic.h>
7 
8 atomic_llong x = 0;
9 
get_x()10 atomic_llong get_x()
11 {
12   return atomic_load(&x);
13 }
14 
15 /* { dg-final { scan-assembler "ldrd" } } */
16