//! > Test simple specialization.

//! > test_runner_name
test_specialized_function

//! > function
fn foo(ref arr: Array<felt252>, d: Span<felt252>, x: felt252, y: felt252) {
    arr.append(x + y)
}

//! > function_name
foo

//! > module_code

//! > semantic_diagnostics

//! > lowering_diagnostics

//! > lowering_flat
Parameters:

//! > full_path
test::foo{array![], { array![] }, None, 1, }

//! > lowering
Parameters: v2: core::felt252
blk0 (root):
Statements:
  (v3: core::felt252) <- 1
  (v4: @core::array::Array::<core::felt252>) <- core::array::array_new::<core::felt252>()
  (v1: core::array::Span::<core::felt252>) <- struct_construct(v4)
  (v0: core::array::Array::<core::felt252>) <- core::array::array_new::<core::felt252>()
  (v5: core::array::Array::<core::felt252>, v6: ()) <- test::foo(v0, v1, v2, v3)
End:
  Return(v5, v6)
