struct Foo
{
    this( int k )
    {
        a = k;
    }
    int a;
}

Foo foo;
int[ Foo ] map;

map[ foo ] = 1;  // Crash! bug?

// This also crashes. I believe crash above makes a call like this (or similar) in the rt.
//auto h = typeid( foo ).getHash( &foo ); // Crash!

win64 & dmd 2.69.2

Reply via email to