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
@@ -25,8 +25,9 @@ contract C {
}
}
// ====
// compileViaYul: also
// requiresYulOptimizer: minimalStack
// compileToEwasm: also
// compileViaYul: also
// ----
// f0() -> 0x20, 4, 8234104107246695022420661102507966550300666591269321702959126607540084801536
// f1() -> 0x20, 0x64, 8234104107246695022420661102507966550300666591269321702959126607540084801536, 862718293348820473429344482784628181556388621521298319395315527974912, 91135606241822717681769169345594720818313984248279388438121731325952, 0
@@ -26,6 +26,7 @@ contract C {
}
}
// ====
// requiresYulOptimizer: minimalStack
// compileViaYul: also
// ----
// f0() -> 0x20, 4, -34435155370463444793260793355178157075203752403645521721995013737368954863616
@@ -35,6 +35,7 @@ contract C {
}
}
// ====
// requiresYulOptimizer: minimalStack
// compileViaYul: also
// ----
// f0() -> 0x20, 4, -34435155370463444793260793355178157075203752403645521721995013737368954863616
@@ -11,6 +11,7 @@ contract C {
}
}
// ====
// requiresYulOptimizer: minimalStack
// compileViaYul: also
// ----
// f(bytes): 0x20, 0xA0, 0x20, 3, 0x01, 0x02, 0x03 -> 0x20, 3, 0x01, 0x02, 0x03
@@ -12,6 +12,7 @@ contract C {
}
}
// ====
// requiresYulOptimizer: minimalStack
// compileViaYul: also
// ----
// f(bytes): 0x20, 0xA0, 0x20, 3, 0x01, 0x02, 0x03 -> 0x20, 3, 0x01, 0x02, 0x03
@@ -24,7 +24,8 @@ contract Test {
}
}
// ====
// compileViaYul: also
// requiresYulOptimizer: minimalStack
// compileToEwasm: also
// compileViaYul: also
// ----
// test() -> FAILURE
@@ -25,7 +25,8 @@ contract Test {
}
}
// ====
// compileViaYul: also
// requiresYulOptimizer: minimalStack
// compileToEwasm: also
// compileViaYul: also
// ----
// withinArray() -> FAILURE
@@ -18,7 +18,8 @@ contract Test {
}
}
// ====
// compileViaYul: also
// requiresYulOptimizer: minimalStack
// compileToEwasm: also
// compileViaYul: also
// ----
// test() -> FAILURE