summaryrefslogtreecommitdiff
path: root/tests/ui/maximal_mir_to_hir_coverage.rs
blob: e57c83d007e07d06ef38a6f1af073f07f3e7886d (plain)
1
2
3
4
5
6
7
8
9
10
//@ compile-flags: -Zmaximal-hir-to-mir-coverage
//@ run-pass

// Just making sure this flag is accepted and doesn't crash the compiler

fn main() {
  let x = 1;
  let y = x + 1;
  println!("{y}");
}