]> git.lizzy.rs Git - rust.git/blob - src/test/ui/deriving/deriving-via-extension-struct-empty.rs
:arrow_up: rust-analyzer
[rust.git] / src / test / 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 }