Bug 17086 – DMD segfault with multiple template matches and invalid code
Status
RESOLVED
Resolution
FIXED
Severity
minor
Priority
P1
Component
dmd
Product
D
Version
D2
Platform
All
OS
All
Creation time
2017-01-13T18:26:00Z
Last change time
2017-03-22T12:21:04Z
Keywords
ice
Assigned to
mathias.lang
Creator
mathias.lang
Comments
Comment #0 by mathias.lang — 2017-01-13T18:26:30Z
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.