about summary refs log tree commit diff
path: root/src/tools/miri/tests/pass/imported_main.rs
blob: eb93cd11d3852e91da6b560dee26d39fe1f06dd9 (plain)
1
2
3
4
5
6
pub mod foo {
    pub fn mymain() {
        println!("Hello, world!");
    }
}
use foo::mymain as main;