summaryrefslogtreecommitdiff
path: root/tests/examples/ghc710/GADTContext.hs
diff options
context:
space:
mode:
Diffstat (limited to 'tests/examples/ghc710/GADTContext.hs')
-rw-r--r--tests/examples/ghc710/GADTContext.hs13
1 files changed, 0 insertions, 13 deletions
diff --git a/tests/examples/ghc710/GADTContext.hs b/tests/examples/ghc710/GADTContext.hs
deleted file mode 100644
index 02b92ac..0000000
--- a/tests/examples/ghc710/GADTContext.hs
+++ /dev/null
@@ -1,13 +0,0 @@
-{-# LANGUAGE GADTs #-}
-{-# LANGUAGE RankNTypes #-}
-{-# LANGUAGE StandaloneDeriving #-}
-
-data StackItem a where
- Snum :: forall a. Fractional a => a -> StackItem a
- Sop :: OpDesc -> StackItem a
-deriving instance Show a => Show (StackItem a)
-
--- AZ added to test Trac #10399
-data MaybeDefault v where
- SetTo :: forall v . ( Eq v, Show v ) => !v -> MaybeDefault v
- SetTo4 :: forall v a. (( Eq v, Show v ) => v -> MaybeDefault v -> a -> MaybeDefault [a])