summaryrefslogtreecommitdiffstats
path: root/tests/ui/maximal_mir_to_hir_coverage.rs
blob: 5ca54633f219a14650af9be6d11208443dc25bc2 (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}");
}