solidity/test/libsolidity/semanticTests/cleanup/exp_cleanup.sol
2023-05-11 10:56:55 -05:00

11 lines
188 B
Solidity

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