mirror of
https://github.com/rust-lang/rust.git
synced 2024-11-24 07:44:10 +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) { }
|