2016-12-27 14:35:48 -06:00
|
|
|
// compile-flags: --emit=metadata
|
|
|
|
// no-prefer-dynamic
|
2018-04-02 06:20:06 -05:00
|
|
|
// 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() {
|
|
|
|
}
|