1 // PERMUTE_ARGS: -inline -g -O -d main()2 void main() 3 { 4 auto darray1 = new int*[](10); 5 foreach(ref v; darray1) 6 v = new int; 7 auto darray2 = new int*[](10); 8 darray2[] = darray1[]; // calls memset instead of memcpy 9 foreach(i; 0 .. 10) 10 assert(darray1[i] == darray2[i]); 11 } 12