Adjust tests.

This commit is contained in:
Daniel Kirchner
2021-09-13 20:41:40 +02:00
parent 153b0bf4ba
commit a8f7c69c47
421 changed files with 457 additions and 36 deletions
@@ -9,6 +9,7 @@ contract C {
}
}
// ====
// requiresYulOptimizer: minimalStack
// compileViaYul: also
// ----
// f(uint256,(address,uint256[])[2],uint256): 7, 0x60, 8, 0x40, 0xE0, 0x0, 0x40, 2, 0x11, 0x12, 0x99, 0x40, 4, 0x31, 0x32, 0x34, 0x35 -> 7, 0x0, 8
@@ -9,6 +9,7 @@ contract C {
}
}
// ====
// requiresYulOptimizer: minimalStack
// compileViaYul: also
// ----
// f(uint256,(address)[2],uint256): 7, 0, 0, 8 -> 7, 0, 8
@@ -11,6 +11,7 @@ contract C {
function g() public returns (uint) { return 7; }
}
// ====
// requiresYulOptimizer: minimalStack
// compileViaYul: also
// ----
// test() -> 7, 3
@@ -10,6 +10,7 @@ contract C {
}
}
// ====
// requiresYulOptimizer: minimalStack
// compileToEwasm: also
// compileViaYul: also
// ----