Update tests.

This commit is contained in:
Alexander Arlt
2019-11-01 14:54:47 -05:00
parent 793b906e05
commit cd3ad73b5a
109 changed files with 349 additions and 213 deletions
+1 -1
View File
@@ -529,7 +529,7 @@ As an example, the code
pragma experimental ABIEncoderV2;
contract Test {
abstract contract Test {
struct S { uint a; uint[] b; T[] c; }
struct T { uint x; uint y; }
function f(S memory s, T memory t, uint a) public;
+2 -2
View File
@@ -14,7 +14,7 @@ provided (no implementation body ``{ }`` was given).::
pragma solidity >=0.4.0 <0.7.0;
contract Feline {
abstract contract Feline {
function utterance() public returns (bytes32);
}
@@ -23,7 +23,7 @@ all defined functions. The usage of an abstract contract as a base class is show
pragma solidity >=0.4.0 <0.7.0;
contract Feline {
abstract contract Feline {
function utterance() public returns (bytes32);
}
+2 -2
View File
@@ -52,12 +52,12 @@ Details are given in the following example.
// interface known to the compiler. Note the function
// without body. If a contract does not implement all
// functions it can only be used as an interface.
contract Config {
abstract contract Config {
function lookup(uint id) public returns (address adr);
}
contract NameReg {
abstract contract NameReg {
function register(bytes32 name) public;
function unregister() public;
}
+1 -1
View File
@@ -91,7 +91,7 @@ Yes::
pragma solidity >=0.4.0 <0.7.0;
contract A {
abstract contract A {
function spam() public pure;
function ham() public pure;
}