diff test/arrays4.d @ 36:c0967c4b2a74 trunk

[svn r40] Cleaned up some of the array routines to use gep/load/store instead of memcpy/memset. Resizing arrays did not allocate enough memory for types bigger than 1 byte.
author lindquist
date Tue, 09 Oct 2007 07:51:13 +0200
parents
children 77cdca8c210f
line wrap: on
line diff
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/test/arrays4.d	Tue Oct 09 07:51:13 2007 +0200
@@ -0,0 +1,7 @@
+module arrays4;
+
+void main()
+{
+    auto arr = new int[4];
+    {auto arrcat = arr ~ arr;}
+}