view tests/mini/const2.d @ 1637:a6a839bcc18a

Change template linkage from weak_odr to linkonce_odr. Much better, fixes #363.
author Matti Niemenmaa <matti.niemenmaa+hg@iki.fi>
date Mon, 08 Mar 2010 19:05:12 +0200
parents 446263a8a30d
children
line wrap: on
line source

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

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