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