summaryrefslogtreecommitdiffstats
path: root/tests/ui/functions-closures/fn-bare-item.rs
blob: a6e6495a40a840cd3cdf08d67dfe142e6a2fc05f (plain)
1
2
3
4
5
6
7
8
// run-pass
fn f() {
    println!("This is a bare function");
}

pub fn main() {
    f();
}