solidity/test/libsolidity/syntaxTests/scoping/state_variable_function_conflict.sol

7 lines
146 B
Solidity
Raw Normal View History

contract C {
uint public f = 0;
function f(uint) public pure {}
}
// ----
// DeclarationError 2333: (40-71): Identifier already declared.