about summary refs log tree commit diff
path: root/tests/ui/codegen/maximal-hir-to-mir-coverage-flag.rs
blob: 64c31beba28c945fc9f0ae9aa77a27e89e4aaf58 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
//! 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}");
}