rust/src/test/run-pass/test-runner-hides-main.rs

9 lines
158 B
Rust

// compile-flags:--test
// xfail-fast
extern mod std;
// Building as a test runner means that a synthetic main will be run,
// not ours
fn main() { fail; }