view test/bug64.d @ 224:116cc012409b trunk

[svn r240] do not crash on zero length constraints string
author ChristianK
date Fri, 06 Jun 2008 22:04:41 +0200
parents 61615fa85940
children
line wrap: on
line source

module bug64;

void main()
{
    float f;
    float* p = &f;
    float* end1 = p+1;
    float* end2 = 1+p;
    assert(end1 is end2);
}