blob: 6929d406863d161a070fc59f8ca128b8414f0db2 [file] [log] [blame]
// https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101490
// { dg-do compile }
struct S101490
{
int[0] arr;
}
void main()
{
S101490* t;
auto a = cast(typeof(t.arr)[0])t.arr;
write(a);
}
void write(S)(S args)
{
foreach (arg; args)
{
}
}