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

7 lines
174 B
Solidity
Raw Normal View History

2018-03-15 23:47:12 +00:00
contract test {
function fun() public { }
function fun() public { }
}
// ----
// DeclarationError 1686: (20-45): Function with same name and arguments defined twice.