summary refs log tree commit diff
path: root/tests/ui/reexport-test-harness-main.rs
blob: f79828fc7d666002458667158a1c7198ce010689 (plain)
1
2
3
4
5
6
7
8
9
10
11
//@ run-pass
//@ compile-flags:--test

#![reexport_test_harness_main = "test_main"]

#[cfg(test)]
fn _unused() {
    // should resolve to the entry point function the --test harness
    // creates.
    test_main();
}