[Issue 12926] New: backend/cgcs.c 351
via Digitalmars-d-bugs
digitalmars-d-bugs at puremagic.com
Sun Jun 15 13:16:19 PDT 2014
https://issues.dlang.org/show_bug.cgi?id=12926
Issue ID: 12926
Summary: backend/cgcs.c 351
Product: D
Version: D2
Hardware: x86_64
OS: Linux
Status: NEW
Severity: critical
Priority: P1
Component: DMD
Assignee: nobody at puremagic.com
Reporter: vlevenfeld at gmail.com
import std.range;
struct Foo
{
struct Baz {}
auto call (T)(T)
{
return bazs.back; // BUG if I remove or change this, it will
compile
}
Baz[] bazs; // BUG using int instead of Baz, it will compile
}
struct Bar
{
auto option (int)
{
return 0;
}
~this () // BUG removing this destructor, it will compile
{ }
}
void main ()
{
Foo foo;
foo.call (Bar ().option (1)); // BUG if I remove .option(1) it will
compile
}
Internal error: backend/cgcs.c 351
--
More information about the Digitalmars-d-bugs
mailing list