www.digitalmars.com         C & C++   DMDScript  

digitalmars.D.bugs - another compiler crash

D:\code\d>type test.d
int main()
{
struct S { static S opCall() { S s; return s; } }
S s = S;
return 0;
}

D:\code\d>dmd test
test.d(4): type S  is not an expression
Internal error: ..\ztc\el.c 723
Aug 06 2004