view tests/mini/const2.d @ 868:1fcba307fd28

Changed bswap intrinsic definition in compiler specific runtime to actually implement a linkable bswap.
author Christian Kamm <kamm incasoftware de>
date Sat, 27 Dec 2008 15:54:24 +0100
parents 446263a8a30d
children
line wrap: on
line source

int[10] test;
int* t = &test[3];

void main()
{
    assert(t is &test[3]);
}