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/e2e/solc_parsing/test_data/event-top-level.sol

17 lines
264 B

event MyEvent(uint256 a);
uint256 constant A = 3;
event MyEvent2(uint8[A]);
contract T {
type MyType is uint256;
event MyCustomEvent(MyType mytype);
function a() public {
emit MyEvent(2);
}
function b() public {
emit MyEvent2([1,2,3]);
}
}