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

11 lines
151 B
Solidity
Raw Normal View History

contract C {
function f() public returns (uint256) {
return ([1, 2, 3, 4][2]);
}
}
2020-07-20 15:17:19 +00:00
// ====
// compileViaYul: also
// ----
// f() -> 3