http://d.puremagic.com/issues/show_bug.cgi?id=10596
Summary: A method with out contract and auto return type causes
segfault
Product: D
Version: D2
Platform: All
OS/Version: All
Status: NEW
Severity: normal
Priority: P2
Component: DMD
AssignedTo: [email protected]
ReportedBy: [email protected]
--- Comment #0 from Tomoya Tanjo <[email protected]> 2013-07-10 08:49:13 PDT ---
The following code causes segfault with exit code 139 with dmd
v2.064-devel-e66cc8f on Linux 64bit.
--- foo.d
class Foo
{
auto bar()
out(result) {
} body {
return 0;
}
}
---
$ dmd -run foo.d
zsh: segmentation fault (core dumped) dmd -run foo.d
--
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------