Fix the 'intheritance' typo in the name of the of the subdirectories in semanticTests/

This commit is contained in:
Kamil Śliwak
2021-01-25 11:17:06 +01:00
parent 8a8442377d
commit 4ad0b4338a
24 changed files with 0 additions and 0 deletions
@@ -0,0 +1,30 @@
contract A {
function f(uint256 a) public returns (uint256) {
return 2 * a;
}
}
contract B {
function f() public returns (uint256) {
return 10;
}
}
contract C is A, B {
function g() public returns (uint256) {
return f();
}
function h() public returns (uint256) {
return f(1);
}
}
// ====
// compileViaYul: also
// compileToEwasm: also
// ----
// g() -> 10
// h() -> 2