September 27, 2005
class Foo(T)
{
  void    add( T val )
  {
    uint test = 1;
    if ( test > val ) return;
  }
}

struct MyStruct
{
  int   value;
}

void main( char[][] args )
{
  Foo!(MyStruct)  foo = new Foo!(MyStruct);
}



(DMD 0.131, Windows XP Pro)

I get the 'dmd.exe has encountered a problem and needs to close' .. gp fault.
---------- Capture Output ----------
> "C:\dmd\bin\dmd.exe" -debug -c "E:\proj\temp\error.d"
E:\proj\temp\error.d(6): incompatible types for ((test) > (val)): 'uint' and 'MyStruct'
> Terminated with exit code -1073741819.