solidity/test/libsolidity/syntaxTests/nameAndTypeResolution/182_equal_overload.sol
2020-07-06 19:22:52 +02:00

7 lines
209 B
Solidity

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