mirror of
https://github.com/ethereum/solidity
synced 2023-10-03 13:03:40 +00:00
Fix crash in ControlFlowGraph related to free functions.
This commit is contained in:
committed by
chriseth
parent
e77e9e449e
commit
001a25db95
@@ -0,0 +1,14 @@
|
||||
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.
|
||||
Reference in New Issue
Block a user