Gitiles
Code Review
Sign In
gerrit-public.fairphone.software
/
toolchain
/
llvm-project
/
3ef668c27ae05a20329f406e58bfe74af507ce4c
/
.
/
clang
/
test
/
CodeGen
/
struct-copy.c
blob: a45e37a30f4ef0f34c41c11f8327b0acd9f1577d [
file
] [
log
] [
blame
]
Chris Lattner
3ef668c
2009-02-28 18:18:58 +0000
[
diff
] [
blame^
]
1
// RUN: clang -emit-llvm %s -o - | grep 'call.*llvm.memcpy'
2
struct
x
{
int
a
[
100
];
};
3
4
5
void
foo
(
struct
x
*
P
,
struct
x
*
Q
)
{
6
*
P
=
*
Q
;
7
}