Fix the coldcc codegen test on wasm32

This commit is contained in:
Scott McMurray 2022-06-05 16:02:10 -07:00
parent a5394aa27a
commit be4e0898cc

View File

@ -3,7 +3,9 @@
#![crate_type = "lib"] #![crate_type = "lib"]
#![feature(rust_cold_cc)] #![feature(rust_cold_cc)]
// CHECK: define coldcc void @this_should_never_happen(i16 // wasm marks the definition as `dso_local`, so allow that as optional.
// CHECK: define{{( dso_local)?}} coldcc void @this_should_never_happen(i16
// CHECK: call coldcc void @this_should_never_happen(i16 // CHECK: call coldcc void @this_should_never_happen(i16
#[no_mangle] #[no_mangle]