]> git.lizzy.rs Git - rust.git/blob - src/test/ui/rfc-2091-track-caller/pass.rs
Auto merge of #102164 - compiler-errors:rpitit-foreign, r=TaKO8Ki
[rust.git] / src / test / 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 }