https://issues.dlang.org/show_bug.cgi?id=17502
Issue ID: 17502
Summary: [The D Bug Tracker]
Product: D
Version: D2
Hardware: All
URL: http://dlang.org/
OS: All
Status: NEW
Severity: normal
Priority: P3
Component: dmd
Assignee: [email protected]
Reporter: [email protected]
If a method has out contract it causes dmd segfault.
```
class Foo
{
auto foo()
in {}
//out {} // uncomment it to get dmd segfault
body{}
}
void main()
{
auto foo = new Foo();
foo.foo();
}
```
--
