view test/complex3.d @ 147:0636f6269dfd trunk

[svn r152] Relates to ticket #34. Always emit class definition if it is a template instance. Linkage still needs to be fixed.
author ChristianK
date Thu, 13 Mar 2008 18:37:52 +0100
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);
}