summaryrefslogtreecommitdiff
path: root/testsuite/tests/rep-poly/RepPolyMatch.hs
blob: 35c3f807c46eaba40c6a867a4dd023529f1662e7 (plain)
1
2
3
4
5
6
7
8
9
10
11
{-# LANGUAGE EmptyCase #-}
{-# LANGUAGE LambdaCase #-}
{-# LANGUAGE PolyKinds #-}
{-# LANGUAGE ScopedTypeVariables #-}

module RepPolyMatch where

import GHC.Exts

match :: forall rep (a :: TYPE rep). a -> ()
match = \ case {}