http://d.puremagic.com/issues/show_bug.cgi?id=6965
Summary: [CTFE] wrong reset of variable Product: D Version: D2 Platform: Other OS/Version: All Status: NEW Severity: normal Priority: P2 Component: DMD AssignedTo: nob...@puremagic.com ReportedBy: d...@dawgfoto.de --- Comment #0 from d...@dawgfoto.de 2011-11-17 02:41:56 PST --- size_t fac(size_t n) { size_t res = n; while (n--) res *= n; return res; } static assert(fac(3) == 6); ------ -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email ------- You are receiving this mail because: -------