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

14 lines
221 B
Solidity

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