mirror of https://github.com/crytic/slither
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.
16 lines
257 B
16 lines
257 B
2 years ago
|
function top_level_yul(int256 c) pure returns (uint result) {
|
||
|
assembly {
|
||
|
function internal_yul(a) -> b {
|
||
|
b := a
|
||
|
}
|
||
|
|
||
|
result := internal_yul(c)
|
||
|
}
|
||
|
}
|
||
|
|
||
|
|
||
|
contract Test {
|
||
|
function test() public{
|
||
|
top_level_yul(10);
|
||
|
}
|
||
|
}
|