summaryrefslogtreecommitdiff
path: root/testsuite/tests/typecheck/should_fail/T16074.hs
blob: c6e067dc220e79a30c873f290110dc128117bf74 (plain)
1
2
3
4
5
6
7
8
9
10
{-# LANGUAGE GADTs, TypeOperators, PolyKinds #-}

module T16074 where

import GHC.Types

data a :~: b where Refl :: a :~: a

foo :: TYPE a :~: TYPE b
foo = Refl