blob: d2b0ba3398dfe1be453429b207b3ea3e9d145e32 [file] [log] [blame]
/*
TEST_OUTPUT:
---
fail_compilation/ice12581.d(21): Error: undefined identifier `undef`
---
*/
struct S
{
int[3] a;
alias a this;
}
struct T
{
S s;
alias s this;
}
void main()
{
T x;
x[] = (undef = 1);
}