rust/tests/ui/test-attrs/test-runner-hides-main.rs
2023-01-11 09:32:08 +00:00

6 lines
146 B
Rust

// run-pass
// compile-flags:--test
// Building as a test runner means that a synthetic main will be run,
// not ours
pub fn main() { panic!(); }