aboutsummaryrefslogtreecommitdiffstats
path: root/test/libsolidity/syntaxTests/scoping/double_function_declaration.sol
blob: dfd67aaaf3d2a6da1339f78bfa55a6cbe1f48f2f (plain) (blame)
1
2
3
4
5
6
contract test {
    function fun() public { }
    function fun() public { }
}
// ----
// DeclarationError: (20-45): Function with same name and arguments defined twice.