solidity/test/libsolidity/semanticTests/cleanup/exp_cleanup_direct.sol
2020-10-19 16:58:59 +02:00

11 lines
179 B
Solidity

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