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

           Summary: -H produces bad headers files if function defintion is
                    templated and have auto return value
           Product: D
           Version: unspecified
          Platform: PC
        OS/Version: Linux
            Status: NEW
          Severity: normal
          Priority: P2
         Component: DMD
        AssignedTo: bugzi...@digitalmars.com
        ReportedBy: bary...@smp.if.uj.edu.pl


# cat header.d
auto c(T)(T x) {
        return x;
}
# dmd -c -H header.d
# cat header.di
// D import file generated from 'header.d'
template c(T)
{
 c(T x)
{
return x;
}
}


Currenly std/math.d function abs in phobos have problem.


-- 

Reply via email to