summaryrefslogtreecommitdiffstats
path: root/tests/ui/rfcs/rfc-2091-track-caller/pass.rs
blob: 1b13ea3e93c89e3cf848c44524c3e0a8f2a65f8c (plain)
1
2
3
4
5
6
7
8
9
10
// run-pass
// revisions: default mir-opt
//[mir-opt] compile-flags: -Zmir-opt-level=4

#[track_caller]
fn f() {}

fn main() {
    f();
}