solidity/test/libsolidity/ASTJSON/override.sol

14 lines
254 B
Solidity
Raw Normal View History

2019-08-13 11:00:46 +00:00
contract A {
function faa() public virtual {}
2019-08-13 11:00:46 +00:00
}
abstract contract B is A {
function foo() public virtual;
function faa() public virtual override {}
2019-08-13 11:00:46 +00:00
}
contract C is B {
function foo() public override { }
function faa() public override { }
2019-08-13 11:00:46 +00:00
}
// ----