solidity/test/libsolidity/syntaxTests/inheritance/override/override_interface.sol
2019-11-14 11:49:39 +01:00

10 lines
256 B
Solidity

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);
}
// ----