]> git.lizzy.rs Git - rust.git/blob - tests/ui/deriving/deriving-via-extension-struct-empty.rs
Rollup merge of #107551 - fee1-dead-contrib:rm_const_fnmut_helper, r=oli-obk
[rust.git] / tests / ui / deriving / deriving-via-extension-struct-empty.rs
1 // run-pass
2 #[derive(PartialEq, Debug)]
3 struct Foo;
4
5 pub fn main() {
6   assert_eq!(Foo, Foo);
7   assert!(!(Foo != Foo));
8 }