solidity/test/libyul/yulOptimizerTests/unusedFunctionParameterPruner/no_unused.yul
Harikrishnan Mulackal 974e35d09c Tests and changelog
2020-09-03 13:15:38 +02:00

17 lines
309 B
Plaintext

// A test where all parameters are used
{
sstore(f(1), 0)
function f(a) -> x { x := a }
function g(b) -> y { y := g(b) }
}
// ----
// step: unusedFunctionParameterPruner
//
// {
// sstore(f(1), 0)
// function f(a) -> x
// { x := a }
// function g(b) -> y
// { y := g(b) }
// }