mirror of
https://github.com/ethereum/solidity
synced 2023-10-03 13:03:40 +00:00
Remove empty settings.
This commit is contained in:
@@ -14,7 +14,6 @@ contract c {
|
||||
uint8(data[97]) == 97;
|
||||
}
|
||||
}
|
||||
// ====
|
||||
// ----
|
||||
// test1() -> true
|
||||
// gas irOptimized: 225890
|
||||
|
||||
@@ -30,7 +30,6 @@ contract C {
|
||||
}
|
||||
}
|
||||
|
||||
// ====
|
||||
// ----
|
||||
// f() -> 0
|
||||
// g() -> 0
|
||||
|
||||
@@ -11,6 +11,5 @@ contract C {
|
||||
}
|
||||
}
|
||||
|
||||
// ====
|
||||
// ----
|
||||
// len() -> 0
|
||||
|
||||
@@ -16,6 +16,5 @@ contract C {
|
||||
}
|
||||
}
|
||||
|
||||
// ====
|
||||
// ----
|
||||
// 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 #
|
||||
|
||||
@@ -3,7 +3,6 @@ contract c {
|
||||
function del() public returns (bool) { delete data; return true; }
|
||||
bytes data;
|
||||
}
|
||||
// ====
|
||||
// ----
|
||||
// (): 7 ->
|
||||
// storageEmpty -> 0
|
||||
|
||||
@@ -33,7 +33,6 @@ contract C {
|
||||
}
|
||||
}
|
||||
|
||||
// ====
|
||||
// ----
|
||||
// len() -> 0
|
||||
// val() -> 0
|
||||
|
||||
@@ -12,7 +12,6 @@ contract C {
|
||||
return (data[0], data[1], data[2]);
|
||||
}
|
||||
}
|
||||
// ====
|
||||
// ----
|
||||
// f() -> 0, 0, 0
|
||||
// gas irOptimized: 90992
|
||||
|
||||
@@ -9,6 +9,5 @@ contract Test {
|
||||
return x;
|
||||
}
|
||||
}
|
||||
// ====
|
||||
// ----
|
||||
// del() -> 0, 1, 2, 0, 0, 0, 0x20, 0x21, 0x22, 0x30, 0x31, 0
|
||||
|
||||
Reference in New Issue
Block a user