view tests/mini/const2.d @ 1498:899a928ac905

Set the default RUNTIME_DIR to be side-by-side of the ldc source dir.
author Christian Kamm <kamm incasoftware de>
date Sun, 14 Jun 2009 14:28:11 +0200
parents 446263a8a30d
children
line wrap: on
line source

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

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