summaryrefslogtreecommitdiff
path: root/testsuite/tests/typecheck/should_fail/T13300.hs
blob: 2803b4292b3c9f604e6a187960a9a1d583bb73e0 (plain)
1
2
3
4
5
6
7
8
9
10
{-# LANGUAGE GADTs #-}
module T13300 where

data W where
  WI :: Int
  WD :: Double

data Superblock
  = A { f :: W }
  | B { f :: W }