mirror of
https://github.com/ethereum/solidity
synced 2023-10-03 13:03:40 +00:00
Add/Update tests for Yul function definition
This commit is contained in:
+1
-1
@@ -3,7 +3,7 @@ contract C {
|
||||
assembly {
|
||||
let d:= 0x10
|
||||
|
||||
function asmfun(a, b, c) - > x, y, z {
|
||||
function asmfun(a, b, c) -> x, y, z {
|
||||
x := g(a)
|
||||
function g(r) - > s {
|
||||
s := mul(r, r)
|
||||
|
||||
Reference in New Issue
Block a user