mirror of
https://github.com/ethereum/solidity
synced 2023-10-03 13:03:40 +00:00
Modify the expectation files in ASTJSON tests.
This commit is contained in:
parent
62a62555bc
commit
51ae296cac
@ -1 +1,3 @@
|
|||||||
contract C { uint[] i; }
|
contract C { uint[] i; }
|
||||||
|
|
||||||
|
// ----
|
||||||
|
@ -2,3 +2,5 @@ contract C {
|
|||||||
constructor() public {
|
constructor() public {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// ----
|
||||||
|
@ -15,3 +15,5 @@ contract C {
|
|||||||
/** Some comment on mod.*/ modifier mod() { _; }
|
/** Some comment on mod.*/ modifier mod() { _; }
|
||||||
/** Some comment on fn.*/ function fn() public {}
|
/** Some comment on fn.*/ function fn() public {}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// ----
|
||||||
|
@ -1 +1,3 @@
|
|||||||
contract C { enum E { A, B } }
|
contract C { enum E { A, B } }
|
||||||
|
|
||||||
|
// ----
|
||||||
|
@ -1 +1,3 @@
|
|||||||
contract C { event E(); }
|
contract C { event E(); }
|
||||||
|
|
||||||
|
// ----
|
||||||
|
@ -2,3 +2,5 @@ contract C {
|
|||||||
function() external payable {
|
function() external payable {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// ----
|
||||||
|
@ -1,3 +1,5 @@
|
|||||||
contract C {
|
contract C {
|
||||||
function() external {}
|
function() external {}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// ----
|
||||||
|
@ -1 +1,3 @@
|
|||||||
contract c { function f() public { uint a = 2 + 3; } }
|
contract c { function f() public { uint a = 2 + 3; } }
|
||||||
|
|
||||||
|
// ----
|
||||||
|
@ -1 +1,3 @@
|
|||||||
contract c { uint[] a; function f() public { uint[] storage b = a; } }
|
contract c { uint[] a; function f() public { uint[] storage b = a; } }
|
||||||
|
|
||||||
|
// ----
|
||||||
|
@ -1 +1,3 @@
|
|||||||
contract C { modifier M(uint i) { _; } function F() M(1) public {} }
|
contract C { modifier M(uint i) { _; } function F() M(1) public {} }
|
||||||
|
|
||||||
|
// ----
|
||||||
|
@ -1 +1,3 @@
|
|||||||
contract C { modifier M(uint i) { _; } function F() M(1) public {} }
|
contract C { modifier M(uint i) { _; } function F() M(1) public {} }
|
||||||
|
|
||||||
|
// ----
|
||||||
|
@ -1 +1,3 @@
|
|||||||
contract C { function f() public { var x = hex"ff"; } }
|
contract C { function f() public { var x = hex"ff"; } }
|
||||||
|
|
||||||
|
// ----
|
||||||
|
@ -1 +1,3 @@
|
|||||||
contract C { modifier M { _; } }
|
contract C { modifier M { _; } }
|
||||||
|
|
||||||
|
// ----
|
||||||
|
@ -1 +1,3 @@
|
|||||||
contract c { function f() public { uint[] memory x; } }
|
contract c { function f() public { uint[] memory x; } }
|
||||||
|
|
||||||
|
// ----
|
||||||
|
@ -1 +1,3 @@
|
|||||||
contract c { function f() public { uint[][] memory rows; } }
|
contract c { function f() public { uint[][] memory rows; } }
|
||||||
|
|
||||||
|
// ----
|
||||||
|
@ -1 +1,3 @@
|
|||||||
contract C {}
|
contract C {}
|
||||||
|
|
||||||
|
// ----
|
||||||
|
@ -1 +1,3 @@
|
|||||||
contract C { function f() { var x = 2; x++; } }
|
contract C { function f() { var x = 2; x++; } }
|
||||||
|
|
||||||
|
// ----
|
||||||
|
@ -1 +1,3 @@
|
|||||||
library L {} contract C { using L for uint; }
|
library L {} contract C { using L for uint; }
|
||||||
|
|
||||||
|
// ----
|
||||||
|
Loading…
Reference in New Issue
Block a user