summaryrefslogtreecommitdiffstats
path: root/tests/ui/reexport-test-harness-main.rs
blob: 2582975e219a6874276a40fd4168ba4efcb2213e (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();
}