1 /* { dg-do compile } */
2 /* { dg-options "-O2 -save-temps" } */
4 void *memcpy (void *dest
, const void *src
, unsigned int n
);
6 void foo (char *dst
, int i
)
8 memcpy (dst
, &i
, sizeof (i
));
11 /* { dg-final { scan-assembler-times "str\t" 1 } } */
12 /* { dg-final { scan-assembler-not "ldr\t" } } */