rust/src/test/ui/rmeta-priv-warn.rs

12 lines
199 B
Rust
Raw Normal View History

2016-12-27 14:35:48 -06:00
// compile-flags: --emit=metadata
// no-prefer-dynamic
// compile-pass
2016-12-27 14:35:48 -06:00
#[deny(warnings)]
// Test that we don't get warnings for non-pub main when only emitting metadata.
// (#38273)
fn main() {
}