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
@@ -23,6 +23,7 @@ contract Creator {
}
}
// ====
// requiresYulOptimizer: minimalStack
// compileViaYul: also
// ----
// f(uint256,address[]): 7, 0x40, 10, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10 -> 7, 8
@@ -23,6 +23,7 @@ contract Creator {
}
}
// ====
// requiresYulOptimizer: minimalStack
// compileViaYul: also
// ----
// f(uint256,bytes): 7, 0x40, 78, "abcdefghijklmnopqrstuvwxyzabcdef", "ghijklmnopqrstuvwxyzabcdefghijkl", "mnopqrstuvwxyz" -> 7, "h"
@@ -16,6 +16,7 @@ contract C {
}
}
// ====
// requiresYulOptimizer: minimalStack
// compileViaYul: also
// ----
// f() -> 16
@@ -16,6 +16,7 @@ contract C {
}
}
// ====
// requiresYulOptimizer: minimalStack
// compileViaYul: also
// ----
// f(), 2000 ether -> true
@@ -19,6 +19,7 @@ contract X is D, C, B, A {
constructor() A(f(1)) C(f(2)) B(f(3)) D(f(4)) {}
}
// ====
// requiresYulOptimizer: minimalStack
// compileViaYul: also
// ----
// g() -> 0x20, 4, 1, 3, 2, 4