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

4 lines
105 B
Solidity

interface ERC20 { function x() external returns (uint); }
contract C is ERC20 { uint public x; }
// ----