summaryrefslogtreecommitdiff
path: root/testsuite/tests/pmcheck/should_compile/T18572.hs
blob: 9a37de48134d3c5fa36d51388166eb9b15e69e5b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
{-# OPTIONS_GHC -Wincomplete-uni-patterns -Wincomplete-patterns -fforce-recomp #-}
{-# LANGUAGE DataKinds, KindSignatures, GADTs #-}

module T18572 where

True = True

data SBool (b :: Bool) where
  STrue :: SBool True
  SFalse :: SBool False

STrue = SFalse