solidity/test/cmdlineTests/dup_opt_peephole/input.sol

13 lines
172 B
Solidity

// SPDX-License-Identifier: GPL-3.0
pragma solidity >=0.0;
contract C {
fallback() external {
assembly {
let x := calldataload(0)
x := x
sstore(0, x)
}
}
}