Sign in
llvm
/
llvm-project
/
clang
/
a02690efdad6df0a2756e08b5ca71f0b195d7713
/
.
/
test
/
CodeGen
/
struct-copy.c
blob: 62c29aba6c9cfdc78ab223775370db1d2680a5b3 [
file
]
// RUN: clang-cc -emit-llvm %s -o - | grep 'call.*llvm.memcpy'
struct
x
{
int
a
[
100
];
};
void
foo
(
struct
x
*
P
,
struct
x
*
Q
)
{
*
P
=
*
Q
;
}