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