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