solidity/test/libsolidity/semanticTests/functionCall/multiple_return_values.sol

10 lines
218 B
Solidity
Raw Normal View History

2019-07-08 14:04:52 +00:00
contract test {
function run(bool x1, uint x2) public returns(uint y1, bool y2, uint y3) {
y1 = x2; y2 = x1;
}
}
// ====
// compileViaYul: also
// ----
// run(bool,uint256): true, 0xcd -> 0xcd, true, 0