summaryrefslogtreecommitdiff
path: root/testsuite/tests/ghc-regress/indexed-types/should_compile/T3418.hs
blob: a0ffaf0aed45019dcfe3fa097769e3dff0a57c87 (plain)
1
2
3
4
{-# LANGUAGE TypeFamilies, DatatypeContexts #-}
module T3418 where

newtype (a ~ b) => S a b = S { unS :: a }