summaryrefslogtreecommitdiff
path: root/testsuite/tests/rep-poly/RepPolyInferPatSyn.hs
blob: 27ed7bfc253e875ded2b514a5125ebd23f116a39 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
{-# LANGUAGE Haskell2010 #-}

{-# LANGUAGE MagicHash #-}
{-# LANGUAGE PatternSynonyms #-}
{-# LANGUAGE PolyKinds #-}
{-# LANGUAGE ScopedTypeVariables #-}
{-# LANGUAGE StandaloneKindSignatures #-}
{-# LANGUAGE TypeFamilies #-}
{-# LANGUAGE UnboxedTuples #-}

module RepPolyInferPatSyn where

import Data.Kind
import GHC.Exts

type R :: RuntimeRep
type family R where {}

type T :: TYPE R
type family T where {}

pattern P a = (a :: T)