Fix the coldcc codegen test on wasm32
This commit is contained in:
parent
a5394aa27a
commit
be4e0898cc
@ -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]
|
||||||
|
Loading…
Reference in New Issue
Block a user