]> git.lizzy.rs Git - rust.git/blob - src/test/ui/test-attrs/test-runner-hides-main.rs
:arrow_up: rust-analyzer
[rust.git] / src / test / ui / test-attrs / test-runner-hides-main.rs
1 // run-pass
2 // compile-flags:--test
3 // Building as a test runner means that a synthetic main will be run,
4 // not ours
5 pub fn main() { panic!(); }