cat aa.d
void main() {
int[int] a;
bool x = a == a;
}
dmd aa.d
aa.o: In function `_Dmain':
aa.d:(.text._Dmain+0xe): undefined reference to `_aaEqual'
collect2: ld returned 1 exit status
--- errorlevel 1
Comment #1 by bearophile_hugs — 2010-03-22T06:57:13Z
Note: dmd v2.042 seems to not have this bug (but this bug report is for dmd 1.057).
Comment #2 by nfxjfg — 2010-03-23T18:38:49Z
The failure I reported happened only because Tango's runtime doesn't implement the _aaEqual function yet.
I thought I tested this with Phobos1, but apparently I didn't switch libraries correctly. I actually works in Phobos 1.