solidity/test/libyul/yulOptimizerTests/unusedPruner/verbatim.yul
Daniel Kirchner 10618188dd Update tests.
2021-11-09 14:34:05 +01:00

20 lines
375 B
Plaintext

{
// cannot be removed because of verbatim
let a := mload(10)
// cannot be removed because of verbatim
let b := keccak256(10, 32)
// can be removed
let c := add(a, b)
verbatim_0i_0o("test")
}
// ----
// step: unusedPruner
//
// {
// {
// pop(mload(10))
// pop(keccak256(10, 32))
// verbatim_0i_0o("test")
// }
// }