Gitiles
Code Review
Sign In
gerrit-public.fairphone.software
/
fp2-dev
/
platform
/
external
/
clang
/
860a319e62b0e256817a458396d191aa91c0787a
/
.
/
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
;
}