2 // compile-flags: --crate-type=lib
3 #![feature(custom_mir, core_intrinsics)]
4 use std::intrinsics::mir::*;
6 #[custom_mir(dialect = "runtime", phase = "optimized")]
7 pub fn f(a: u32) -> u32 {
11 // Previously code generation failed with ICE "use of .. before def ..." because the
12 // definition of x was incorrectly identified as dominating the use of x located in the