contract test { struct S { uint x; } constructor(uint k) public { S[k]; } } // ---- // TypeError 3940: (76-77): Integer constant expected.