rust/tests/ui/rfcs/rfc-2091-track-caller/pass.rs

11 lines
141 B
Rust

//@ run-pass
//@ revisions: default mir-opt
//@[mir-opt] compile-flags: -Zmir-opt-level=4
#[track_caller]
fn f() {}
fn main() {
f();
}