contract foo {
function bar1(uint32 x, bool y) public returns (address, bytes32) {
return (address(3), hex"01020304");
}
function bar2(uint32 x, bool y) public returns (bool) {
return !y;
}
}
contract bar {
function test(foo f) public {
(address f1, bytes32 f2) = f.bar1(102, false);
bool f3 = f.bar2({x: 255, y: true});
}
}