[Issue 22144] New: ICE(dcast.d): Floating point exception in castTo::CastTo::visit(Expression*) at dmd/dcast.d:1702
d-bugmail at puremagic.com
d-bugmail at puremagic.com
Sun Jul 25 22:47:19 UTC 2021
https://issues.dlang.org/show_bug.cgi?id=22144
Issue ID: 22144
Summary: ICE(dcast.d): Floating point exception in
castTo::CastTo::visit(Expression*) at dmd/dcast.d:1702
Product: D
Version: D2
Hardware: All
OS: All
Status: NEW
Severity: critical
Priority: P1
Component: dmd
Assignee: nobody at puremagic.com
Reporter: ibuclaw at gdcproject.org
struct test
{
int[0] foo;
}
void main()
{
test* t;
cast(typeof(t.foo)[])t.foo;
}
--
More information about the Digitalmars-d-bugs
mailing list