solidity/test/libsolidity/semanticTests/array/inline_array_index_access_ints.sol
2020-03-19 14:42:25 +01:00

9 lines
120 B
Solidity

contract C {
function f() public returns (uint256) {
return ([1, 2, 3, 4][2]);
}
}
// ----
// f() -> 3