]> git.lizzy.rs Git - rust.git/blob - tests/ui/rfc-2091-track-caller/pass.rs
Rollup merge of #96763 - Abdur-rahmaanJ:patch-1, r=Mark-Simulacrum
[rust.git] / tests / ui / rfc-2091-track-caller / pass.rs
1 // run-pass
2 // revisions: default mir-opt
3 //[mir-opt] compile-flags: -Zmir-opt-level=4
4
5 #[track_caller]
6 fn f() {}
7
8 fn main() {
9     f();
10 }