diff options
Diffstat (limited to 'clang/test/CodeGen/2004-02-12-LargeAggregateCopy.c')
-rw-r--r-- | clang/test/CodeGen/2004-02-12-LargeAggregateCopy.c | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/clang/test/CodeGen/2004-02-12-LargeAggregateCopy.c b/clang/test/CodeGen/2004-02-12-LargeAggregateCopy.c new file mode 100644 index 0000000..811ee8e --- /dev/null +++ b/clang/test/CodeGen/2004-02-12-LargeAggregateCopy.c @@ -0,0 +1,8 @@ +// RUN: %clang_cc1 %s -emit-llvm -o - | FileCheck %s + +struct X { int V[10000]; }; +struct X Global1, Global2; +void test() { + // CHECK: llvm.memcpy + Global2 = Global1; +} |