mirror of https://github.com/crytic/slither
parent
c15e88d944
commit
997b6b5fe3
Binary file not shown.
@ -0,0 +1,6 @@ |
||||
{ |
||||
"Lib": {}, |
||||
"Test": { |
||||
"foo()": "digraph{\n0[label=\"Node Type: ENTRY_POINT 0\n\"];\n0->1;\n1[label=\"Node Type: EXPRESSION 1\n\"];\n}\n" |
||||
} |
||||
} |
@ -0,0 +1,12 @@ |
||||
pragma solidity 0.8.16; |
||||
|
||||
library Lib { |
||||
event Event(); |
||||
} |
||||
|
||||
contract Test { |
||||
function foo() external { |
||||
emit Lib.Event(); // This line specifically |
||||
} |
||||
} |
||||
|
Loading…
Reference in new issue