2021-02-16 12:32:06 +00:00
|
|
|
contract C {
|
|
|
|
function add(uint, uint) public pure returns (uint) { return 7; }
|
|
|
|
function g() public pure returns (uint x, uint y) {
|
|
|
|
x = add(1, 2);
|
|
|
|
assembly {
|
|
|
|
y := add(1, 2)
|
|
|
|
}
|
|
|
|
}
|
2021-03-12 23:02:36 +00:00
|
|
|
}
|
2021-03-12 23:02:36 +00:00
|
|
|
// ----
|