freebsd-nq/test/CodeGen/struct-copy.c
2010-01-01 10:34:51 +00:00

8 lines
143 B
C

// 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;
}