| Daniel Dunbar | 8fbe78f | 2009-12-15 20:14:24 +0000 | [diff] [blame] | 1 | // RUN: %clang_cc1 -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 | } | ||||