1  /* { dg-do compile } */
       2  /* { dg-require-effective-target arm_hard_vfp_ok } */
       3  /* { dg-options "-O2 -march=armv7-a -mfloat-abi=hard -mfpu=vfpv3-d16" } */
       4  
       5  int foo (void)
       6  {
       7    double x = 0.0;
       8    asm volatile ("" : "+gw" (x));
       9    return x;
      10  }