You are an expert in writing code in many different languages. Your goal is to perform code completion for the following code, keeping in mind the rest of the code and the file meta data.
    Metadata details:
    filename: global_get.rs
    path of file: ./repos/wasmi/crates/wasmi/src/engine/translator/tests/op
    
    the code of the file until where you have to start completion: use super::*;

use crate::engine::bytecode::GlobalIdx;
use core::fmt::Display;
use wasm_type::WasmType;

/// Test for `global.get` of internally defined mutable global variables.
///
/// # Note
///
/// Optimization to replace `global.get` with the underlying initial value
/// of the global variable cannot be done since the value might change
/// d
    
fn test_global_get_as_return_values_1() {
    let wasm = wat2wasm(
        r#"
        (module
            (global $g (mut i64) (i64.const 0))
            (func (result i32 i64)
                (block (result i32 i64)
                    (i32.const 2)
                    (global.get $g)
                )
            )
        )
        "#,
    );
    TranslationTest::new(wasm)
        .expect_func(
            ExpectedFunc::new([
                Instruction::global_get(Register::from_i16(0), GlobalIdx::from(0)),
                Instruction::return_reg2(-1, 0),
            ])
            .consts([2_i32]),
        )
        .run()
}