summaryrefslogtreecommitdiff
path: root/gcc/testsuite/gcc.dg/pr43213.c
blob: d12fb22b1daf2c8020ed2be39f79c4b1f37ad55f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
/* { dg-do compile } */

struct S {
  int i;
};

struct S f(int i)
{
  return *(struct S *)&i;
}

/* { dg-final { scan-assembler-not "memmove" } } */