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

12 lines
189 B
Solidity

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