mirror of
https://github.com/rust-lang/rust.git
synced 2025-10-03 10:47:16 +00:00
13 lines
263 B
Rust
13 lines
263 B
Rust
//! Test that -Z maximal-hir-to-mir-coverage flag is accepted.
|
|
//!
|
|
//! Original PR: https://github.com/rust-lang/rust/pull/105286
|
|
|
|
//@ compile-flags: -Zmaximal-hir-to-mir-coverage
|
|
//@ run-pass
|
|
|
|
fn main() {
|
|
let x = 1;
|
|
let y = x + 1;
|
|
println!("{y}");
|
|
}
|