Adds some more tests and groups all function call inheritance related together into single sub-directory.

This commit is contained in:
Christian Parpart
2020-10-12 12:29:55 +02:00
parent b0acf5dc86
commit 8ac0bee361
7 changed files with 84 additions and 0 deletions
@@ -0,0 +1,14 @@
contract Base {
function f(uint n) public returns (uint) {
return 2 * n;
}
}
contract Child is Base {
function g(uint n) public returns (uint) {
return Base.f(n);
}
}
// ----
// g(uint256): 4 -> 8