mirror of https://github.com/crytic/slither
parent
4164039011
commit
20fa97cbac
@ -1,7 +1,21 @@ |
||||
import "./A.sol"; |
||||
|
||||
contract C is A { |
||||
interface MyInterfaceX { |
||||
function count() external view returns (uint256); |
||||
|
||||
function increment() external; |
||||
} |
||||
|
||||
contract C is A, MyInterfaceX { |
||||
function c_main() public pure { |
||||
a_main(); |
||||
} |
||||
|
||||
function count() external view override returns (uint256){ |
||||
return 1; |
||||
} |
||||
|
||||
function increment() external override { |
||||
|
||||
} |
||||
} |
||||
|
Loading…
Reference in new issue