2019-07-27 00:54:25 +03:00
|
|
|
//@ run-pass
|
2014-08-09 00:01:05 +10:00
|
|
|
//@ 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();
|
|
|
|
|
}
|