summaryrefslogtreecommitdiffstats
path: root/src/test/ui/deriving/deriving-via-extension-struct-empty.rs
blob: 9fb250e847093fe0e6633561eb242ac42866c80d (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));
}