//! > Test rebindings.

//! > test_runner_name
test_function_lowering(expect_diagnostics: false)

//! > function_code
fn foo(ref a: felt252, b: felt252, c: felt252) -> felt252 {
    a = b;
    a = bar();
    c
}

//! > function_name
foo

//! > module_code
extern fn bar() -> felt252 nopanic;

//! > semantic_diagnostics

//! > lowering_diagnostics

//! > lowering_flat
Parameters: v0: core::felt252, v1: core::felt252, v2: core::felt252
blk0 (root):
Statements:
  (v3: core::felt252) <- test::bar()
End:
  Return(v3, v2)
