mirror of
https://github.com/ethereum/solidity
synced 2023-10-03 13:03:40 +00:00
Remove empty settings.
This commit is contained in:
@@ -45,7 +45,6 @@ contract C {
|
||||
}
|
||||
}
|
||||
|
||||
// ====
|
||||
// ----
|
||||
// f0() -> 0x20, 0x0
|
||||
// f1() -> 0x20, 0x40, 0x1, 0x2
|
||||
|
||||
-1
@@ -28,7 +28,6 @@ contract C is B {
|
||||
return foo(new A());
|
||||
}
|
||||
}
|
||||
// ====
|
||||
// ----
|
||||
// test() -> 77
|
||||
// gas irOptimized: 119711
|
||||
|
||||
-1
@@ -36,7 +36,6 @@ contract C is B {
|
||||
return (x, y);
|
||||
}
|
||||
}
|
||||
// ====
|
||||
// ----
|
||||
// test() -> 5, 10
|
||||
// gas irOptimized: 87337
|
||||
|
||||
@@ -11,7 +11,6 @@ contract C {
|
||||
return (a, b.length, b[3], c);
|
||||
}
|
||||
}
|
||||
// ====
|
||||
// ----
|
||||
// f(uint256,bytes,uint256): 6, 0x60, 9, 7, "abcdefg" -> 6, 7, "d", 9
|
||||
// f_external(uint256,bytes,uint256): 6, 0x60, 9, 7, "abcdefg" -> 6, 7, "d", 9
|
||||
|
||||
-1
@@ -7,7 +7,6 @@ contract C {
|
||||
return this.f(x);
|
||||
}
|
||||
}
|
||||
// ====
|
||||
// ----
|
||||
// g(uint256[][2][]): 0x20, 0x01, 0x20, 0x40, 0x60, 0x00, 0x00 -> 42
|
||||
// g(uint256[][2][]): 0x20, 0x01, 0x20, 0x00, 0x00 -> 42
|
||||
|
||||
@@ -25,7 +25,6 @@ contract C {
|
||||
return reenc ? this.f_reenc(a) : this.f(a);
|
||||
}
|
||||
}
|
||||
// ====
|
||||
// ----
|
||||
// g(bool): false -> 23, 37, 71
|
||||
// g(bool): true -> 23, 37, 71
|
||||
|
||||
@@ -1,7 +1,6 @@
|
||||
contract C {
|
||||
function f(uint[] calldata) public {}
|
||||
}
|
||||
// ====
|
||||
// ----
|
||||
// f(uint256[]): 0x20, 0 ->
|
||||
// f(uint256[]): 0x20, 1 -> FAILURE
|
||||
|
||||
@@ -11,7 +11,6 @@ contract C {
|
||||
abi.encode(a);
|
||||
}
|
||||
}
|
||||
// ====
|
||||
// ----
|
||||
// f(uint256[3][]): 0x20, 1, 0x01 -> FAILURE
|
||||
// f(uint256[3][]): 0x20, 1, 0x01, 0x02 -> FAILURE
|
||||
|
||||
@@ -19,6 +19,5 @@ contract C {
|
||||
return (b.b, this.g(b));
|
||||
}
|
||||
}
|
||||
// ====
|
||||
// ----
|
||||
// f() -> 11, 11
|
||||
|
||||
@@ -10,7 +10,6 @@ contract C {
|
||||
return this.g(x);
|
||||
}
|
||||
}
|
||||
// ====
|
||||
// ----
|
||||
// f(uint256): 0 -> 0
|
||||
// g(address): 0 -> 0 # test validation as well as sanity check #
|
||||
|
||||
@@ -10,7 +10,6 @@ contract C {
|
||||
return this.gggg(x);
|
||||
}
|
||||
}
|
||||
// ====
|
||||
// ----
|
||||
// f(uint256): 0 -> false
|
||||
// gggg(bool): 0 -> false # test validation as well as sanity check #
|
||||
|
||||
@@ -42,7 +42,6 @@ contract C {
|
||||
return this.g16(x);
|
||||
}
|
||||
}
|
||||
// ====
|
||||
// ----
|
||||
// f1(bytes32): left(0) -> left(0)
|
||||
// gg1(bytes1): left(0) -> left(0) # test validation as well as sanity check #
|
||||
|
||||
@@ -16,7 +16,6 @@ contract C {
|
||||
return (this.ggg(s.f), this.h(s));
|
||||
}
|
||||
}
|
||||
// ====
|
||||
// ----
|
||||
// ffff(uint256): 0 -> 0, 0
|
||||
// ggg(function): 0 -> 0
|
||||
|
||||
@@ -42,7 +42,6 @@ contract C {
|
||||
return this.g128(x);
|
||||
}
|
||||
}
|
||||
// ====
|
||||
// ----
|
||||
// f8(int256): 0 -> 0
|
||||
// ggg8(int8): 0 -> 0 # test validation as well as sanity check #
|
||||
|
||||
@@ -42,7 +42,6 @@ contract C {
|
||||
return this.g128(x);
|
||||
}
|
||||
}
|
||||
// ====
|
||||
// ----
|
||||
// f8(uint256): 0 -> 0
|
||||
// ggg8(uint8): 0 -> 0 # test validation as well as sanity check #
|
||||
|
||||
@@ -6,6 +6,5 @@ contract C {
|
||||
return (b.length, b[a], c);
|
||||
}
|
||||
}
|
||||
// ====
|
||||
// ----
|
||||
// f(uint256,uint16[],uint256): 6, 0x60, 9, 7, 11, 12, 13, 14, 15, 16, 17 -> 7, 17, 9
|
||||
|
||||
@@ -25,7 +25,6 @@ contract C {
|
||||
return this.f(12, b, c, 13);
|
||||
}
|
||||
}
|
||||
// ====
|
||||
// ----
|
||||
// test() -> 12, 3, 4, 0x66, 5, 0x85, 13
|
||||
// f(uint256,uint16[][],uint256[2][][3],uint256): 12, 0x80, 0x220, 13, 3, 0x60, 0xC0, 0x160, 2, 85, 86, 4, 101, 102, 103, 104, 0, 0x60, 0xC0, 0x220, 1, 0, 117, 5, 0, 0, 0, 133, 0, 0, 0, 0, 0, 0, 0 -> 12, 3, 4, 0x66, 5, 0x85, 13
|
||||
|
||||
@@ -14,6 +14,5 @@ contract C {
|
||||
return this.f("abc", "def", x);
|
||||
}
|
||||
}
|
||||
// ====
|
||||
// ----
|
||||
// g() -> 3, 0x6200000000000000000000000000000000000000000000000000000000000000, 3, 0x6600000000000000000000000000000000000000000000000000000000000000, 4, 7
|
||||
|
||||
@@ -8,6 +8,5 @@ contract C {
|
||||
r3 = b;
|
||||
}
|
||||
}
|
||||
// ====
|
||||
// ----
|
||||
// f(uint256,(address,uint256[])[2],uint256): 7, 0x60, 8, 0x40, 0xE0, 0x0, 0x40, 2, 0x11, 0x12, 0x99, 0x40, 4, 0x31, 0x32, 0x34, 0x35 -> 7, 0x0, 8
|
||||
|
||||
@@ -8,6 +8,5 @@ contract C {
|
||||
r3 = b;
|
||||
}
|
||||
}
|
||||
// ====
|
||||
// ----
|
||||
// f(uint256,(address)[2],uint256): 7, 0, 0, 8 -> 7, 0, 8
|
||||
|
||||
@@ -10,6 +10,5 @@ contract C {
|
||||
}
|
||||
function g() public returns (uint) { return 7; }
|
||||
}
|
||||
// ====
|
||||
// ----
|
||||
// test() -> 7, 3
|
||||
|
||||
Reference in New Issue
Block a user