mirror of
https://github.com/ethereum/solidity
synced 2023-10-03 13:03:40 +00:00
7 lines
140 B
Solidity
7 lines
140 B
Solidity
contract test {
|
|
struct S { uint x; }
|
|
constructor(uint k) { S[k]; }
|
|
}
|
|
// ----
|
|
// TypeError 3940: (69-70): Integer constant expected.
|