view tests/mini/const2.d @ 863:6c850977a941

modified gen/linker.cpp to only append .exe suffix on windows if not already present
author elrood
date Thu, 18 Dec 2008 19:24:33 +0100
parents 446263a8a30d
children
line wrap: on
line source

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

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