solidity/test/cmdlineTests/dup_opt_peephole/input.sol

13 lines
172 B
Solidity
Raw Normal View History

// SPDX-License-Identifier: GPL-3.0
pragma solidity >=0.0;
2020-07-13 09:16:30 +00:00
contract C {
fallback() external {
assembly {
let x := calldataload(0)
x := x
sstore(0, x)
}
}
}