view tests/mini/slices2.d @ 1256:6af2359b433a

Change needed for mingw
author Kelly Wilson <wilsonk cpsc.ucalgary.ca>
date Wed, 22 Apr 2009 14:40:56 -0600
parents bb4a81e68ddb
children
line wrap: on
line source

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