blob: 8b7a81ebd5cc0a965d0c81502af419770ed50a92 [file] [log] [blame]
module ice21696;
// https://issues.dlang.org/show_bug.cgi?id=21696
double[1][1] func(double[1][1] stuff = [[1.0]])
{
bool myFunc()
{
if (stuff[])
return true;
return false;
}
if (!myFunc())
assert(false);
return stuff;
}
int main()
{
return func() != [[1.0]];
}