solidity/test/libsolidity/syntaxTests/scoping/double_function_declaration.sol

7 lines
180 B
Solidity
Raw Normal View History

2018-03-15 23:47:12 +00:00
contract test {
function fun() public { }
function fun() public { }
}
// ----
2020-07-06 17:16:21 +00:00
// DeclarationError 1686: (20-45): Function with same name and parameter types defined twice.