YouCompleteMe/cpp/llvm/tools/clang/test/CodeGen/struct-copy.c

8 lines
143 B
C
Raw Normal View History

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