view tests/mini/slices2.d @ 1135:8ebbad15fc99

Remove struct padding which was making this test fail on 64-bit systems.
author Frits van Bommel <fvbommel wxs.nl>
date Tue, 24 Mar 2009 03:14:22 +0100
parents bb4a81e68ddb
children
line wrap: on
line source

void main()
{
    int[10] arr = void;
    int[]* ptr = &arr[1..3];
}