solidity/test/libsolidity/syntaxTests/imports/inheritance_abi_encoder_match.sol
2020-11-24 14:57:45 +01:00

21 lines
384 B
Solidity

==== Source: A.sol ====
pragma abicoder v2;
contract A
{
struct S { uint a; }
S public s;
function f(S memory _s) public returns (S memory,S memory) { }
}
==== Source: B.sol ====
pragma abicoder v2;
import "./A.sol";
contract B is A { }
==== Source: C.sol ====
pragma abicoder v2;
import "./B.sol";
contract C is B { }
// ----