solidity/test/libsolidity/semanticTests/viaYul/simple.sol
Daniel Kirchner fd36ec3dca Test updates.
2021-07-06 19:05:36 +02:00

16 lines
255 B
Solidity

contract C {
fallback() external {
assembly {
function f(x, y) { mstore(0x00, x) mstore(0x20, y) }
f(0x42, 0x21)
return(0,0x40)
}
}
}
// ====
// allowNonExistingFunctions: true
// compileViaYul: true
// ----
// f(uint256): 3 -> 0x42, 0x21