solidity/test/libsolidity/semanticTests/various/inline_tuple_with_rational_numbers.sol
2022-05-19 20:23:28 +02:00

12 lines
193 B
Solidity

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