solidity/test/libsolidity/semanticTests/various/inline_tuple_with_rational_numbers.sol
2023-05-11 10:56:55 -05:00

9 lines
160 B
Solidity

contract c {
function f() public returns (int8) {
int8[5] memory foo3 = [int8(1), -1, 0, 0, 0];
return foo3[0];
}
}
// ----
// f() -> 1