view test/bug64.d @ 121:9c79b61fb638 trunk

[svn r125] Renamed/moved a few backend member inside DMD structures for consistency. Unit tests are now implemented.
author lindquist
date Tue, 27 Nov 2007 03:09:36 +0100
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);
}