solidity/test/libsolidity/syntaxTests/inheritance/override/public_vars_wrong_override.sol
2019-12-05 12:48:52 +00:00

6 lines
150 B
Solidity

contract X {
uint public override foo;
}
// ----
// TypeError: (26-34): Public state variable has override specified but does not override anything.