view tests/mini/const2.d @ 923:9bab304ed531

Added support for naked asm on OSX. (hopefully!)
author Tomas Lindquist Olsen <tomas.l.olsen@gmail.com>
date Tue, 03 Feb 2009 18:14:30 +0100
parents 446263a8a30d
children
line wrap: on
line source

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

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