solidity/test/libsolidity/syntaxTests/nameAndTypeResolution/182_equal_overload.sol

7 lines
209 B
Solidity
Raw Normal View History

contract C {
function test(uint a) public returns (uint b) { }
function test(uint a) external {}
}
// ----
2020-07-06 17:16:21 +00:00
// DeclarationError 1686: (17-66): Function with same name and parameter types defined twice.