www.digitalmars.com         C & C++   DMDScript  

digitalmars.D.bugs - [Issue 9756] New: "duplicate COMDAT" with templated functions in static foreach

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

           Summary: "duplicate COMDAT" with templated functions in static
                    foreach
           Product: D
           Version: D2
          Platform: x86_64
        OS/Version: Windows
            Status: NEW
          Keywords: link-failure
          Severity: normal
          Priority: P2
         Component: DMD
        AssignedTo: nobody puremagic.com
        ReportedBy: thecybershadow gmail.com



11:53:54 EET ---
template Tuple(T...) { alias T Tuple; }

void main()
{
    foreach (n; Tuple!(1, 2, 3))
    {
        void f()() {}
        f();
    }
}


Happens only on Win64.

Possibly related to issue 9748.

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