blob: 23a8510d98d2abaa3ac94ae2b8879ac6e2f421eb (
plain)
1
2
3
4
5
6
7
8
9
10
11
|
{-# LANGUAGE GADTs, StandaloneDeriving #-}
module T4528 where
data Foo a where
A, B :: Foo Int
C :: Foo Bool
deriving instance Enum (Foo a)
deriving instance Bounded (Foo a)
|