--- /dev/null
+import "Prelude"
+
+data Foo = Foo Integer
+
+deriving instance Eq Foo
+deriving instance Hashable Foo
+
+data Bar = Bar
+
+instance Eq Bar where
+ _ == _ = True
+instance Hashable Bar where
+ hash _ = 123
+
+main = ()
+--
+()
\ No newline at end of file