1 // compile-flags: -C no-prepopulate-passes
4 #![feature(rust_cold_cc)]
6 // wasm marks the definition as `dso_local`, so allow that as optional.
8 // CHECK: define{{( dso_local)?}} coldcc void @this_should_never_happen(i16
9 // CHECK: call coldcc void @this_should_never_happen(i16
12 pub extern "rust-cold" fn this_should_never_happen(x: u16) {}
14 pub fn do_things(x: u16) {
16 this_should_never_happen(54321);