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