summaryrefslogtreecommitdiff
path: root/testsuite/tests/deriving/should_fail/drvfail015.hs
blob: 32d6134d34166e82b578d1f9a4f7cac1f9626dcb (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
{-# OPTIONS_GHC -XStandaloneDeriving #-}

module ShouldFail where

import System.IO( Handle )


-- T is a synonym
type T = Int
deriving instance Eq T

-- Handle is abstract
deriving instance Eq Handle