solidity/test/libsolidity/syntaxTests/inheritance/override/state_variable_function.sol
2019-12-02 21:59:00 +01:00

9 lines
157 B
Solidity

contract A {
uint public x;
}
contract C is A {
function x() public returns (uint) {}
}
// ----
// DeclarationError: (50-87): Identifier already declared.