solidity/test/libsolidity/syntaxTests/scoping/double_function_declaration.sol
2020-07-06 19:22:52 +02:00

7 lines
180 B
Solidity

contract test {
function fun() public { }
function fun() public { }
}
// ----
// DeclarationError 1686: (20-45): Function with same name and parameter types defined twice.