[Issue 14782] New: Internal error: backend/cod1.c
via Digitalmars-d-bugs
digitalmars-d-bugs at puremagic.com
Tue Jul 7 10:21:26 PDT 2015
https://issues.dlang.org/show_bug.cgi?id=14782
Issue ID: 14782
Summary: Internal error: backend/cod1.c
Product: D
Version: D2
Hardware: x86_64
OS: Linux
Status: NEW
Severity: normal
Priority: P1
Component: dmd
Assignee: nobody at puremagic.com
Reporter: yazan.dabain at gmail.com
struct Foo
{
void* a;
int b;
}
int fun()
{
return 0;
}
auto process(fun...)()
{
Foo[fun.length] a;
return a;
}
void main()
{
Foo[1] output = process!fun();
}
------------------
Compiling the above using dmd 2.067.1 produces: `Internal error: backend/cod1.c
1713`
Compiling using dmd 2.068.0-b1 produces: `Internal error: backend/cod1.c 1711`
No flags are necessary to reproduce.
--
More information about the Digitalmars-d-bugs
mailing list