mirror of
https://github.com/ethereum/solidity
synced 2023-10-03 13:03:40 +00:00
13 lines
216 B
Solidity
13 lines
216 B
Solidity
contract c {
|
|
function f() public returns (int8) {
|
|
int8[5] memory foo3 = [int8(1), -1, 0, 0, 0];
|
|
return foo3[0];
|
|
}
|
|
}
|
|
|
|
// ====
|
|
// compileViaYul: also
|
|
// compileToEwasm: also
|
|
// ----
|
|
// f() -> 1
|