1 2 3 4 5 6
contract test { function fun() public { } function fun() public { } } // ---- // DeclarationError: Function with same name and arguments defined twice.