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

10 lines
177 B
Solidity
Raw Normal View History

2020-05-04 16:38:00 +00:00
function f() {}
contract C {
function f() public {}
function g() public {
f();
}
}
// ----
// Warning 2519: (31-53): This declaration shadows an existing declaration.