mirror of
https://github.com/ethereum/solidity
synced 2023-10-03 13:03:40 +00:00
12 lines
345 B
Solidity
12 lines
345 B
Solidity
interface A {
|
|
function test() external returns (uint256);
|
|
function test2() external returns (uint256);
|
|
function test3() external returns (uint256);
|
|
}
|
|
contract X is A {
|
|
function test() external override returns (uint256) {}
|
|
function test2() external override(A) returns (uint256) {}
|
|
function test3() external returns (uint256) {}
|
|
}
|
|
// ----
|