summaryrefslogtreecommitdiff
path: root/testsuite/tests/typecheck/should_compile/T18252.hs
blob: 3560e51c26521ca966eef4cb9289038616de15c3 (plain)
1
2
3
4
5
6
7
8
9
{-# LANGUAGE DataKinds #-}
{-# LANGUAGE TypeOperators #-}
module T18252 where

import Data.Type.Equality
import GHC.TypeNats

eq :: (1 + 2 ~ 3) :~: ((1 + 2) ~ 3)
eq = Refl