view test/complex3.d @ 192:67ed21bf16af trunk

[svn r208] const init interface vtbls to nonzero values only for nonabstract classes
author ChristianK
date Mon, 12 May 2008 18:22:55 +0200
parents 3efbcc81ba45
children
line wrap: on
line source

module complex3;

void main()
{
    cfloat c1 = 1f + 0i;
    cfloat c2 = 0f + 0i;
    c2 += 1f + 0i;
    //assert(c1 == c2);
}