← Back to index
|
Original Bugzilla link
Bug 19967 – segmentation fault when auto ref with default values
Status
RESOLVED
Resolution
WORKSFORME
Severity
normal
Priority
P1
Component
dmd
Product
D
Version
D2
Platform
All
OS
All
Creation time
2019-06-14T17:55:54Z
Last change time
2020-03-21T03:56:33Z
Assigned to
No Owner
Creator
Bolpat
Comments
Comment #0
by qs.il.paperinik — 2019-06-14T17:55:54Z
Compiling this code void f(Ts...)(auto ref Ts args = Ts.init) { } void main() { int x; f(x); } ends the compiler with a segmentation fault.
Comment #1
by b2.temp — 2019-07-05T16:46:32Z
2.087 ok