| 1 | // RUN: %clang_cc1 -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 | } |
| 8 |
| 1 | // RUN: %clang_cc1 -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 | } |
| 8 |