test verifier target x86_64 function %deref_base_type(i64 vmctx) { gv0 = vmctx+0 gv1 = deref(gv0): i32 gv2 = deref(gv1): i32 ; error: deref base gv1 has type i32, which is not the pointer type i64 ebb0(v0: i64): return } function %global_value_wrong_type(i64 vmctx) { gv0 = vmctx+0 ebb0(v0: i64): v1 = global_value.i32 gv0 ; error: global_value instruction with type i32 references global value with type i64 return }