summaryrefslogtreecommitdiff
path: root/testsuite/tests/ghc-regress/deriving/should_fail/drvfail007.hs
blob: 74f9f033d3c3e9df8ce147daed734b4896b04566 (plain)
1
2
3
4
-- !!! buggy deriving with function type, reported by Sigbjorn Finne
module ShouldFail where

data Foo = Foo (Int -> Int) deriving Eq