Static Analyzer for Solidity
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
slither/tests/ast-parsing/emit-0.4.21.sol

22 lines
319 B

contract C {
event E(uint);
function emitNoKeyword() public {
E(1);
C.E(1);
}
function emitWithKeyword() public {
emit E(1);
emit C.E(1);
}
function cursed() public {
var x = E;
x(1);
x(2);
emit x(1);
emit x(2);
}
}