Summary: Segfault(mtype.c) with forward referenced typeof and
           Product: D
           Version: D1 & D2
          Platform: Other
        OS/Version: Windows
            Status: NEW
          Keywords: ice-on-valid-code
          Severity: normal
          Priority: P2
         Component: DMD

--- Comment #0 from Don <> 2010-09-01 02:20:22 PDT ---
typeof(a4781.init) b4781;
typeof(7) a4781;

--> Segfault on D1 & D2.

By contrast, this related case gives a forward reference error followed by a
useless "voids have no value" message.

typeof(d4781) c4781;
typeof(7) d4781;

And, this third case also segfaults, but here we have a genuine circular
reference which should not compile.

auto e4781 = f4781.init;
typeof(e4781) f4781;

and another circular reference which currently gives a forward reference error.

typeof(g4781) h4781;
typeof(h4781) g4781;

Configure issuemail:
------- You are receiving this mail because: -------

Reply via email to