| Daniel Dunbar | a45cf5b | 2009-03-24 02:24:46 +0000 | [diff] [blame] | 1 | // RUN: clang-cc -emit-llvm %s -o - | grep 'call.*llvm.memcpy' |
| Chris Lattner | 3ef668c | 2009-02-28 18:18:58 +0000 | [diff] [blame] | 2 | struct x { int a[100]; }; |
| 3 | |||||
| 4 | |||||
| 5 | void foo(struct x *P, struct x *Q) { | ||||
| 6 | *P = *Q; | ||||
| 7 | } | ||||