solidity/test/libsolidity/semanticTests/functionCall/multiple_return_values.sol
2019-07-08 16:04:52 +02:00

10 lines
218 B
Solidity

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