]> git.lizzy.rs Git - rust.git/blob - tests/ui/functions-closures/fn-bare-item.rs
Rollup merge of #107740 - oli-obk:lock_tcx, r=petrochenkov
[rust.git] / tests / ui / functions-closures / fn-bare-item.rs
1 // run-pass
2 fn f() {
3     println!("This is a bare function");
4 }
5
6 pub fn main() {
7     f();
8 }