[Issue 8532] New: Pure Segfault
d-bugmail at puremagic.com
d-bugmail at puremagic.com
Fri Aug 10 03:44:28 PDT 2012
http://d.puremagic.com/issues/show_bug.cgi?id=8532
Summary: Pure Segfault
Product: D
Version: D2
Platform: All
OS/Version: All
Status: NEW
Severity: normal
Priority: P2
Component: DMD
AssignedTo: nobody at puremagic.com
ReportedBy: daniel350 at bigpond.com
--- Comment #0 from Daniel <daniel350 at bigpond.com> 2012-08-10 03:44:26 PDT ---
auto sum(Y, R ...)(R r, Y val) pure { return sum(r, val); } // segfault
//auto sum(Y, R ...)(R r, Y val) { return sum(r, val); } // no segfault, just
an error, as it should
void main() { sum(1, 2, 3); }
I first noticed this in 2.059, it remained to 2.060.
http://dpaste.dzfl.pl/74702d88
--
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