Update tests.

This commit is contained in:
chriseth
2021-11-08 14:59:00 +01:00
parent f320a95dd9
commit 080c7245ae
25 changed files with 95 additions and 323 deletions
@@ -1,5 +1,3 @@
pragma solidity >= 0.6.0;
// This tests skipping the extcodesize check.
contract T {
@@ -1,5 +1,3 @@
pragma solidity >= 0.6.0;
// This tests skipping the extcodesize check.
interface I {
@@ -18,17 +18,17 @@ contract C {
// compileViaYul: also
// ----
// constructor(), 20 wei
// gas irOptimized: 220113
// gas irOptimized: 218775
// gas legacy: 294569
// gas legacyOptimized: 177933
// gas legacyOptimized: 174699
// f(uint256): 20 -> 1370859564726510389319704988634906228201275401179
// x() -> 1
// f(uint256): 20 -> FAILURE
// x() -> 1
// stack(uint256): 1023 -> FAILURE
// gas irOptimized: 345821
// gas irOptimized: 296769
// gas legacy: 483942
// gas legacyOptimized: 354656
// gas legacyOptimized: 298807
// x() -> 1
// stack(uint256): 10 -> 693016686122178122849713379390321835634789309880
// x() -> 2
@@ -26,9 +26,9 @@ contract C {
}
// ====
// compileViaYul: also
// EVMVersion: >=constantinople
// compileViaYul: also
// ----
// testHighLevel() -> FAILURE
// testHighLevel() -> true
// testLowLevel() -> 0xc76596d400000000000000000000000000000000000000000000000000000000
// testHighLevel2() -> FAILURE