mirror of
https://github.com/rust-lang/rust.git
synced 2024-12-18 19:43:43 +00:00
10 lines
199 B
Rust
10 lines
199 B
Rust
// ignore-wasm32 compiled with panic=abort by default
|
|
// EMIT_MIR scalar_literal_propagation.main.ConstProp.diff
|
|
fn main() {
|
|
let x = 1;
|
|
consume(x);
|
|
}
|
|
|
|
#[inline(never)]
|
|
fn consume(_: u32) { }
|