mirror of
https://github.com/xomboverlord/ldc.git
synced 2026-01-23 00:03:14 +01:00
[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.
This commit is contained in:
7
test/arrays4.d
Normal file
7
test/arrays4.d
Normal file
@@ -0,0 +1,7 @@
|
||||
module arrays4;
|
||||
|
||||
void main()
|
||||
{
|
||||
auto arr = new int[4];
|
||||
{auto arrcat = arr ~ arr;}
|
||||
}
|
||||
Reference in New Issue
Block a user