Sign in
android
/
toolchain
/
rustc
/
refs/heads/main
/
.
/
tests
/
ui
/
test-attrs
/
test-runner-hides-main.rs
blob: 811f16940e72555c799c8846498bb2f9b19a7784 [
file
] [
log
] [
blame
] [
edit
]
//@ run-pass
//@ compile-flags:--test
// Building as a test runner means that a synthetic main will be run,
// not ours
pub
fn
main
()
{
panic
!();
}