rust/tests/ui/allow-non-lint-warnings.rs

9 lines
115 B
Rust

//@ compile-flags: -Awarnings
//@ check-pass
#[derive()]
#[derive(Copy, Clone)]
pub struct Foo;
pub fn main() {}