view test/bug64.d @ 191:2900754a6989 trunk

[svn r207] Fixed: the runtime support didn't handle string switch.
author lindquist
date Mon, 12 May 2008 14:58:55 +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);
}