solidity/test/libsolidity/semanticTests/viaYul/local_assignment.sol

11 lines
171 B
Solidity
Raw Normal View History

2019-03-18 10:21:41 +00:00
contract C {
function f(uint a) public pure returns (uint x) {
uint b = a;
x = b;
}
}
// ====
// compileViaYul: true
// ----
// f(uint256): 6 -> 6