mirror of
https://github.com/ethereum/solidity
synced 2023-10-03 13:03:40 +00:00
16 lines
255 B
Solidity
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
|