This website requires JavaScript.
Explore
Help
Register
Sign In
rust-lang
/
rust
Watch
1
Star
0
Fork
0
You've already forked rust
Code
Issues
Pull Requests
Actions
1
Packages
Projects
Releases
Wiki
Activity
Files
901b340c1f5d208561d4261cc3ee634973b35326
rust
/
tests
/
ui
/
test-attrs
/
test-main-not-dead.rs
7 lines
85 B
Rust
Raw
Normal View
History
Unescape
Escape
[AUTO-GENERATED] Migrate ui tests from `//` to `//@` directives
2024-02-16 20:02:50 +00:00
//@ run-pass
//@ compile-flags: --test
Mark main-like functions allow(dead_code) in tests Fixes #12327.
2015-08-23 21:46:10 -04:00
#![
deny(dead_code)
]
fn
main
(
)
{
panic!
(
)
;
}
Reference in New Issue
Copy Permalink