projects
/
oota-llvm.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
resurrect lost tests by renaming them to not end with .tr
[oota-llvm.git]
/
test
/
CFrontend
/
2004-02-12-LargeAggregateCopy.c
diff --git a/test/CFrontend/2004-02-12-LargeAggregateCopy.c
b/test/CFrontend/2004-02-12-LargeAggregateCopy.c
new file mode 100644
(file)
index 0000000..
b3c9bcf
--- /dev/null
+++ b/
test/CFrontend/2004-02-12-LargeAggregateCopy.c
@@ -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;
+}
+