[Issue 643] New: dmd crashes with fwd-referenced .sizeof via aliases

d-bugmail at puremagic.com d-bugmail at puremagic.com
Mon Dec 4 00:28:20 PST 2006


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

           Summary: dmd crashes with fwd-referenced .sizeof via aliases
           Product: D
           Version: 0.176
          Platform: PC
        OS/Version: Windows
            Status: NEW
          Severity: normal
          Priority: P2
         Component: DMD
        AssignedTo: bugzilla at digitalmars.com
        ReportedBy: kinaba at is.s.u-tokyo.ac.jp


// credit goes to http://f17.aaa.livedoor.jp/~labamba/?BugTrack%2F28
const int fooSize = Foo.sizeof;
struct tagFoo {}
alias tagFoo Foo;
-------------------------

compiling the above code leads dmd to access violation.


-- 




More information about the Digitalmars-d-bugs mailing list