summaryrefslogtreecommitdiffstats
path: root/src/test/ui/test-attrs/test-runner-hides-main.rs
blob: 0de1d64f0fcc71420fb58e68fdd8fb6e84eb65b3 (plain)
1
2
3
4
5
// run-pass
// compile-flags:--test
// Building as a test runner means that a synthetic main will be run,
// not ours
pub fn main() { panic!(); }