solidity/test/libsolidity/semanticTests/array/inline_array_index_access_ints.sol

9 lines
120 B
Solidity
Raw Normal View History

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