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

10 lines
177 B
Solidity

contract C {
function f(uint x) public returns (uint y) {
assembly { y := shl(2, x) }
}
}
// ====
// EVMVersion: >=constantinople
// ----
// f(uint256): 7 -> 28