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

13 lines
211 B
Solidity

contract C {
function f() public pure returns (uint8 x) {
unchecked {
return uint8(0)**uint8(uint8(2)**uint8(8));
}
}
}
// ====
// compileToEwasm: also
// ----
// f() -> 0x1