solidity/test/libyul/yulInterpreterTests/shadowed_symbol.yul

20 lines
345 B
Plaintext

{
function f()
{
// Variable declaration does not shadow namesake function declaration
// because latter not visible here.
let shadow_id
}
{
// Function named `shadow_id` is in scope now.
f()
function shadow_id() {}
}
}
// ====
// EVMVersion: >=constantinople
// ----
// Trace:
// Memory dump:
// Storage dump: