www.digitalmars.com         C & C++   DMDScript  

digitalmars.D.bugs - dmd compiles multiple destructors

The following code is excepted by dmd without any warning/error. Naturaly
gcc rejects the code:

class DestBug{
    ~this(){printf("a\n");}
    ~this(){printf("b\n");}
}
Jun 10 2004