solidity/test/libsolidity/syntaxTests/inheritance/override/function_state_variable.sol
2021-04-20 17:38:29 +02:00

4 lines
114 B
Solidity

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