aboutsummaryrefslogtreecommitdiffstats
path: root/test/libsolidity/syntaxTests/scoping/state_variable_function_conflict.sol
blob: 0c732f7fc0cb1b007ad86f1bf30cab1c9a22b8c5 (plain) (blame)
1
2
3
4
5
6
contract C {
    uint public f = 0;
    function f(uint) public pure {}
}
// ----
// DeclarationError: (40-71): Identifier already declared.