D - compiler error on assert(void);
- Evan McClanahan (11/11) Nov 14 2002 void bonk() {}
- Walter (1/1) Nov 14 2002 Got it, thanks. -Walter
void bonk() {} int main(char[][] args) { assert(bonk()); return 0; } causes the compiler to die, rather than spitting out an error: the error is: dmd testce.d Internal error: ..\ztc\cod1.c 1637 Evan
Nov 14 2002