solidity/test/libsolidity/semanticTests/various/inline_tuple_with_rational_numbers.sol

13 lines
216 B
Solidity
Raw Normal View History

contract c {
function f() public returns (int8) {
int8[5] memory foo3 = [int8(1), -1, 0, 0, 0];
return foo3[0];
}
}
2020-07-20 15:17:19 +00:00
// ====
// compileViaYul: also
// compileToEwasm: also
// ----
// f() -> 1