solidity/test/libsolidity/syntaxTests/freeFunctions/free_function_shadowing.sol
2020-08-18 11:46:59 +02:00

10 lines
177 B
Solidity

function f() {}
contract C {
function f() public {}
function g() public {
f();
}
}
// ----
// Warning 2519: (31-53): This declaration shadows an existing declaration.