Source

gdc / gdc.test / fail_compilation / fail120.d

Full commit
1
2
3
4
5
6
class Foo
{
    int[2] nodes;
    auto left = (){ return nodes[0]; };
    auto right = (){ return nodes[1]; };
}