mirror of
https://github.com/ethereum/solidity
synced 2023-10-03 13:03:40 +00:00
Adjust tests.
This commit is contained in:
@@ -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
|
||||
|
||||
+2
-1
@@ -24,7 +24,8 @@ contract Test {
|
||||
}
|
||||
}
|
||||
// ====
|
||||
// compileViaYul: also
|
||||
// requiresYulOptimizer: minimalStack
|
||||
// compileToEwasm: also
|
||||
// compileViaYul: also
|
||||
// ----
|
||||
// test() -> FAILURE
|
||||
|
||||
+2
-1
@@ -25,7 +25,8 @@ contract Test {
|
||||
}
|
||||
}
|
||||
// ====
|
||||
// compileViaYul: also
|
||||
// requiresYulOptimizer: minimalStack
|
||||
// compileToEwasm: also
|
||||
// compileViaYul: also
|
||||
// ----
|
||||
// withinArray() -> FAILURE
|
||||
|
||||
+2
-1
@@ -18,7 +18,8 @@ contract Test {
|
||||
}
|
||||
}
|
||||
// ====
|
||||
// compileViaYul: also
|
||||
// requiresYulOptimizer: minimalStack
|
||||
// compileToEwasm: also
|
||||
// compileViaYul: also
|
||||
// ----
|
||||
// test() -> FAILURE
|
||||
|
||||
Reference in New Issue
Block a user