1 /* { dg-do compile { target lp64 } } */
2 /* { dg-options "-O2" } */
3 /* { dg-final { scan-assembler-times "movq\[^\n\r]*, %rax|mov\[ \t]*rax," 1 } } */
4 
5 typedef struct
6 {
7   double x;
8 } Double;
9 
fn1()10 Double  __attribute__((ms_abi)) fn1 ()
11 {
12   Double v;
13   v.x = 3.145;
14   return v;
15 }
16