aboutsummaryrefslogtreecommitdiff
path: root/test/CodeGen/struct-copy.c
blob: 6f3b6643f09a5d95e2687ff5f85843555a27f3cd (plain)
1
2
3
4
5
6
7
// 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;
}