mirror of
https://github.com/ethereum/solidity
synced 2023-10-03 13:03:40 +00:00
15 lines
418 B
Solidity
15 lines
418 B
Solidity
|
contract C0 {
|
||
|
function f() external {}
|
||
|
function f(int) external {}
|
||
|
function f2() external {}
|
||
|
}
|
||
|
function f() {}
|
||
|
contract C {
|
||
|
function f() external {}
|
||
|
}
|
||
|
contract C2 is C0 {}
|
||
|
// ----
|
||
|
// Warning 2519: (16-40): This declaration shadows an existing declaration.
|
||
|
// Warning 2519: (43-70): This declaration shadows an existing declaration.
|
||
|
// Warning 2519: (132-156): This declaration shadows an existing declaration.
|