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

12 lines
195 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
// compileToEwasm: also
2019-03-18 10:21:41 +00:00
// ----
// f(uint256): 6 -> 6