Gitiles
Code Review
Sign In
gerrit-public.fairphone.software
/
platform
/
external
/
clang
/
c5f7459b2d60ad55ed2ab3cfd281d9c718f5a8df
/
.
/
test
/
CodeGen
/
struct-copy.c
blob: 6f3b6643f09a5d95e2687ff5f85843555a27f3cd [
file
] [
log
] [
blame
]
// RUN: %clang_cc1 -emit-llvm %s -o - | grep 'call.*llvm.memcpy'
struct
x
{
int
a
[
100
];
};
void
foo
(
struct
x
*
P
,
struct
x
*
Q
)
{
*
P
=
*
Q
;
}