solidity/test/libsolidity/syntaxTests/scoping/double_function_declaration.sol
2018-04-10 14:08:22 +02:00

7 lines
169 B
Solidity

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