solidity/test/libsolidity/syntaxTests/inheritance/override/override_interface.sol

10 lines
256 B
Solidity
Raw Normal View History

2019-11-05 17:25:34 +00:00
interface A {
function test() external returns (uint256);
function test2() external returns (uint256);
}
abstract contract X is A {
function test() external override returns (uint256);
function test2() external override(A) returns (uint256);
}
// ----