This website requires JavaScript.
Explore
Help
Sign In
nordic-dev.net
/
rust
Watch
2
Star
0
Fork
0
You've already forked rust
mirror of
https://github.com/rust-lang/rust.git
synced
2025-06-05 19:58:32 +00:00
Code
Issues
Packages
Projects
Releases
Wiki
Activity
58e901b6fd
rust
/
tests
/
ui
/
test-attrs
/
test-main-not-dead.rs
7 lines
83 B
Rust
Raw
Normal View
History
Unescape
Escape
tests: Add missing run-pass annotations
2019-07-26 21:54:25 +00:00
// run-pass
Mark main-like functions allow(dead_code) in tests Fixes #12327.
2015-08-24 01:46:10 +00:00
// compile-flags: --test
#![
deny(dead_code)
]
fn
main
(
)
{
panic!
(
)
;
}
Reference in New Issue
Copy Permalink