[Issue 4753] New: fail_compilation/fail116.d sends dmd into a loop, exhausting memory

d-bugmail at puremagic.com d-bugmail at puremagic.com
Sun Aug 29 01:34:32 PDT 2010


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

           Summary: fail_compilation/fail116.d sends dmd into a loop,
                    exhausting memory
           Product: D
           Version: D2
          Platform: All
        OS/Version: All
            Status: NEW
          Severity: normal
          Priority: P2
         Component: DMD
        AssignedTo: nobody at puremagic.com
        ReportedBy: braddr at puremagic.com


--- Comment #0 from Brad Roberts <braddr at puremagic.com> 2010-08-29 01:34:21 PDT ---
make test_results/fail_compilation/fail116.d.out

The source points to fixed bug 405.

The code:
// 405

template square(typeof(x) x)
{
    const square = x * x;
}

const b = square!(1.2);

-- 
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------


More information about the Digitalmars-d-bugs mailing list