summaryrefslogtreecommitdiff
path: root/testsuite/tests/linear/should_compile/LinearEmptyCase.hs
blob: 63bfd017fd74ec9825ab613aa62b14b18aca349c (plain)
1
2
3
4
5
6
7
8
{-# LANGUAGE EmptyCase, LinearTypes #-}

module LinearEmptyCase where

data Void

f :: a %1 -> Void -> b
f x y = case y of {}