solidity/test/libsolidity/syntaxTests/freeFunctions/free_identical.sol

5 lines
199 B
Solidity
Raw Normal View History

function f() pure returns (uint) { return 1337; }
function f() pure returns (uint) { return 42; }
// ----
// DeclarationError 1686: (0-49): Function with same name and parameter types defined twice.