[Issue 10596] New: A method with out contract and auto return type causes segfault
d-bugmail at puremagic.com
d-bugmail at puremagic.com
Wed Jul 10 08:49:14 PDT 2013
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: nobody at puremagic.com
ReportedBy: ttanjo at gmail.com
--- Comment #0 from Tomoya Tanjo <ttanjo at gmail.com> 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: -------
More information about the Digitalmars-d-bugs
mailing list