2 #![allow(unused_must_use)]
3 #![allow(unused_imports)]
4 // pretty-expanded FIXME #23616
7 use std::hash::{Hash, SipHasher};
9 // testing multiple separate deriving attributes
18 fn hash<T: Hash>(_t: &T) {}
21 let a = Foo {bar: 4, baz: -3};
23 a == a; // check for PartialEq impl w/o testing its correctness
24 a.clone(); // check for Clone impl w/o testing its correctness
25 hash(&a); // check for Hash impl w/o testing its correctness