mirror of https://github.com/crytic/slither
commit
04a6b0f8d6
@ -0,0 +1,19 @@ |
||||
pragma solidity 0.8.16; |
||||
|
||||
type aliasTopLevel is uint; |
||||
|
||||
contract C |
||||
{ |
||||
type aliasContractLevel is uint; |
||||
} |
||||
|
||||
contract Test |
||||
{ |
||||
aliasTopLevel a; |
||||
C.aliasContractLevel b; |
||||
} |
||||
|
||||
function f(aliasTopLevel, C.aliasContractLevel) |
||||
{ |
||||
|
||||
} |
@ -0,0 +1,19 @@ |
||||
pragma solidity 0.8.16; |
||||
|
||||
interface A |
||||
{ |
||||
function a() external; |
||||
} |
||||
|
||||
contract C |
||||
{ |
||||
function g(address _address) private |
||||
{ |
||||
A(_address).a(); |
||||
} |
||||
} |
||||
|
||||
function f(address _address) |
||||
{ |
||||
A(_address).a(); |
||||
} |
Loading…
Reference in new issue