[Issue 17086] New: DMD segfault with multiple template matches and invalid code
via Digitalmars-d-bugs
digitalmars-d-bugs at puremagic.com
Fri Jan 13 10:26:30 PST 2017
https://issues.dlang.org/show_bug.cgi?id=17086
Issue ID: 17086
Summary: DMD segfault with multiple template matches and
invalid code
Product: D
Version: D2
Hardware: All
OS: All
Status: NEW
Severity: minor
Priority: P1
Component: dmd
Assignee: mathias.lang at sociomantic.com
Reporter: mathias.lang at sociomantic.com
Not sure how to describe this one, besides the test case:
```
void testXXXX (T, T V = T.init) (T x) { assert(x.foo); }
void testXXXX (T, T V = T.init) (T y) { assert(y.bar); }
void main ()
{
bool f;
testXXXX(f);
}
```
P.R. coming up.
--
More information about the Digitalmars-d-bugs
mailing list