www.digitalmars.com         C & C++   DMDScript  

digitalmars.D.bugs - Non-existant template crashes dmd

The following code gives the correct error message then crashes DMD.

#void main()
#    rubbish!(int)();

c:\>dmd test2
template instance rubbish!(int) identifier 'rubbish' is not defined

Crash message:
The instruction at "0x0040c759" referenced memory at "0x00000000". The
memory could not be read".

Melbourne, Australia
1/Jul/04 12:53:59 PM
Jun 30 2004