D issues are now tracked on GitHub. This Bugzilla instance remains as a read-only archive.
Issue 6886 - [CTFE] ICE(interpret.c) new array with initializer
Summary: [CTFE] ICE(interpret.c) new array with initializer
Status: RESOLVED FIXED
Alias: None
Product: D
Classification: Unclassified
Component: dmd (show other issues)
Version: D2
Hardware: Other Windows
: P2 normal
Assignee: No Owner
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-11-03 02:00 UTC by Don
Modified: 2015-06-09 05:11 UTC (History)
1 user (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this issue.
Description Don 2011-11-03 02:00:26 UTC
int bug6886()
{
    auto carray = new([1,2]) double[][2];
    return 1;
}

static assert(bug6886());

-----
assert interpret.c(2240) argnum < arguments->dim - 1