mirror of
https://github.com/ethereum/solidity
synced 2023-10-03 13:03:40 +00:00
Adjust tests.
This commit is contained in:
@@ -15,6 +15,7 @@ contract c {
|
||||
}
|
||||
}
|
||||
// ====
|
||||
// requiresYulOptimizer: minimalStack
|
||||
// compileViaYul: also
|
||||
// ----
|
||||
// test1() -> true
|
||||
|
||||
@@ -31,6 +31,7 @@ contract C {
|
||||
}
|
||||
|
||||
// ====
|
||||
// requiresYulOptimizer: minimalStack
|
||||
// compileViaYul: also
|
||||
// ----
|
||||
// f() -> 0
|
||||
|
||||
@@ -12,6 +12,7 @@ contract C {
|
||||
}
|
||||
|
||||
// ====
|
||||
// requiresYulOptimizer: minimalStack
|
||||
// compileViaYul: also
|
||||
// ----
|
||||
// len() -> 0
|
||||
|
||||
@@ -17,6 +17,7 @@ contract C {
|
||||
}
|
||||
|
||||
// ====
|
||||
// requiresYulOptimizer: minimalStack
|
||||
// compileViaYul: also
|
||||
// ----
|
||||
// f() -> true # This code interprets x as an array length and thus will go out of gas. neither of the two should throw due to out-of-bounds access #
|
||||
|
||||
@@ -34,6 +34,7 @@ contract C {
|
||||
}
|
||||
|
||||
// ====
|
||||
// requiresYulOptimizer: minimalStack
|
||||
// compileViaYul: also
|
||||
// ----
|
||||
// len() -> 0
|
||||
|
||||
@@ -13,6 +13,7 @@ contract C {
|
||||
}
|
||||
}
|
||||
// ====
|
||||
// requiresYulOptimizer: minimalStack
|
||||
// compileViaYul: also
|
||||
// ----
|
||||
// f() -> 0, 0, 0
|
||||
|
||||
@@ -10,6 +10,7 @@ contract Test {
|
||||
}
|
||||
}
|
||||
// ====
|
||||
// requiresYulOptimizer: minimalStack
|
||||
// compileViaYul: also
|
||||
// ----
|
||||
// del() -> 0, 1, 2, 0, 0, 0, 0x20, 0x21, 0x22, 0x30, 0x31, 0
|
||||
|
||||
Reference in New Issue
Block a user