view tests/mini/slices2.d @ 1397:fdfc4060bcec

fix missing 'test' mnemonic and add several variations
author Kelly Wilson <wilsonk cpsc.ucalgary.ca>
date Tue, 19 May 2009 11:58:54 -0600
parents bb4a81e68ddb
children
line wrap: on
line source

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