[Issue 2711] -H produces bad headers files if function defintion is templated and have auto return value

d-bugmail at puremagic.com d-bugmail at puremagic.com
Fri Mar 6 09:46:47 PST 2009


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





------- Comment #1 from baryluk at smp.if.uj.edu.pl  2009-03-06 11:46 -------
Simpler example (without templates):

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


-- 



More information about the Digitalmars-d-bugs mailing list