[Sol->Yul] Compile some tests with yul

This commit is contained in:
Mathias Baumann 2019-05-23 16:38:11 +02:00
parent 6a0976ed5e
commit 9e23d6d05e
7 changed files with 13 additions and 0 deletions

View File

@ -9,5 +9,7 @@ contract C {
}
}
}
// ====
// compileViaYul: also
// ----
// f() -> 6

View File

@ -9,5 +9,7 @@ contract C {
}
}
}
// ====
// compileViaYul: also
// ----
// f() -> 5

View File

@ -13,6 +13,8 @@ contract C {
}
}
}
// ====
// compileViaYul: also
// ----
// f(uint256): 0 -> 2
// f(uint256): 1 -> 18

View File

@ -24,6 +24,8 @@ contract C {
return 500;
}
}
// ====
// compileViaYul: also
// ----
// call(uint256): 0 -> 0
// call(uint256): 1 -> 1

View File

@ -4,6 +4,7 @@ contract C {
}
}
// ====
// compileViaYul: also
// EVMVersion: >=constantinople
// ----
// f(uint256): 7 -> 28

View File

@ -3,6 +3,8 @@ contract C {
return a + b + c + d + e;
}
}
// ====
// compileViaYul: also
// ----
// f(uint256,uint256,uint256,uint256,uint256): 1, 1, 1, 1, 1
// -> 5

View File

@ -3,6 +3,8 @@ contract C {
return a + b + c + d + e;
}
}
// ====
// compileViaYul: also
// ----
// f(uint256,uint256,uint256,uint256,uint256): 1, 1, 1, 1, 1
// # A comment on the function parameters. #