mirror of
https://github.com/xomboverlord/ldc.git
synced 2026-04-18 01:39:03 +02:00
Implemented allocating storage for a slice if its address is taken, fixes #115
This commit is contained in:
5
tests/mini/slices2.d
Normal file
5
tests/mini/slices2.d
Normal file
@@ -0,0 +1,5 @@
|
||||
void main()
|
||||
{
|
||||
int[10] arr = void;
|
||||
int[]* ptr = &arr[1..3];
|
||||
}
|
||||
Reference in New Issue
Block a user