PR c++/67273
[official-gcc.git] / gcc / testsuite / gcc.target / arm / memcpy-aligned-1.c
blob852b391388bdaec9e5fcc2f03cf8fd9fa469281a
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" } } */