summary refs log tree commit diff
path: root/tests/ui/deriving/deriving-via-extension-struct-empty.rs
blob: 43a60013e79e4cf49703e43569cd1b609d27729e (plain)
1
2
3
4
5
6
7
8
//@ run-pass
#[derive(PartialEq, Debug)]
struct Foo;

pub fn main() {
  assert_eq!(Foo, Foo);
  assert!(!(Foo != Foo));
}