mirror of
https://github.com/rust-lang/rust.git
synced 2024-11-24 07:44:10 +00:00
12 lines
237 B
Rust
12 lines
237 B
Rust
//@ compile-flags: --emit=metadata
|
|
//@ no-prefer-dynamic
|
|
//@ build-pass (FIXME(62277): could be check-pass?)
|
|
|
|
#[deny(warnings)]
|
|
|
|
// Test that we don't get warnings for non-pub main when only emitting metadata.
|
|
// (#38273)
|
|
|
|
fn main() {
|
|
}
|