D-Programming-Language/dmd — pull request #1166 by AndrejMitrovic (2012-10-05 01:30:06+00:00)
Title: Fix 8691: Stack overflow with recursive struct

http://d.puremagic.com/issues/show_bug.cgi?id=8691

Turns this into an error rather than overflowing the stack:

```d
struct Foo {
Foo[1] foos;
}
```

I've wrapped the new code with `DMDV2` since I'm not sure if D1 has the same semantics here.