Sign in
llvm
/
clang
/
refs/heads/release_26
/
.
/
test
/
CodeGen
/
struct-copy.c
blob: 62c29aba6c9cfdc78ab223775370db1d2680a5b3 [
file
] [
log
] [
blame
]
// 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
;
}