Bug 1387 – DMD crash: "ref const struct" as function parameter

Status
RESOLVED
Resolution
DUPLICATE
Severity
critical
Priority
P2
Component
dmd
Product
D
Version
D2
Platform
x86
OS
Linux
Creation time
2007-07-30T23:40:00Z
Last change time
2015-06-09T01:14:15Z
Assigned to
bugzilla
Creator
wstring

Comments

Comment #0 by wstring — 2007-07-30T23:40:30Z
Test case: struct S { int mx; } void foo(ref const S s) { } void main() { S s; foo(s); }
Comment #1 by kamm-removethis — 2007-07-31T01:53:50Z
*** This bug has been marked as a duplicate of 1319 ***